GitHub Advisoryadvisory · Maven

GHSA-crv7-7245-f45f Improper Handling of Length Parameter Inconsistency in Compress

HIGH Published 2021-08-02 Modified 2022-02-08 Official page ↗
Aliases
CVE-2021-35516
Ecosystem
Maven
Packages
org.apache.commons:commons-compress
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-130, CWE-770
Reviewed
2021-07-14

Affected packages

• Maven org.apache.commons:commons-compress: < 1.21 → fixed in 1.21

Description

When reading a specially crafted 7Z 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' sevenz package.

Related

Alias · CVE (1)

  • CVE-2021-35516 When reading a specially crafted 7Z archive, Compress can be made to allocate large amounts of memory that finally leads to an out of… vulnerability

Weakness · CWE (2)

  • CWE-130 Improper Handling of Length Parameter Inconsistency weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References