GitHub Advisoryadvisory · Maven

GHSA-xqfj-vm6h-2x34 Improper Handling of Length Parameter Inconsistency in Compress

HIGH Published 2021-08-02 Modified 2022-02-08 Official page ↗
Aliases
CVE-2021-35517
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 TAR 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' tar package.

Related

Alias · CVE (1)

  • CVE-2021-35517 When reading a specially crafted TAR 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