Skip to content

Improper Handling of Length Parameter Inconsistency in Compress

High severity GitHub Reviewed Published Aug 2, 2021 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

maven org.apache.commons:commons-compress (Maven)

Affected versions

< 1.21

Patched versions

1.21

Description

When reading a specially crafted ZIP archive, Compress can be made to allocate large amounts of memory that finally leads to an out of memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' zip package.

References

Published by the National Vulnerability Database Jul 13, 2021
Reviewed Jul 14, 2021
Published to the GitHub Advisory Database Aug 2, 2021
Last updated Jan 27, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2021-36090

GHSA ID

GHSA-mc84-pj99-q6hh

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.