GHSA-xqfj-vm6h-2x34

Suggest an improvement
Source
https://github.com/advisories/GHSA-xqfj-vm6h-2x34
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-xqfj-vm6h-2x34/GHSA-xqfj-vm6h-2x34.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xqfj-vm6h-2x34
Aliases
Published
2021-08-02T16:55:39Z
Modified
2024-03-08T05:19:25.295269Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Improper Handling of Length Parameter Inconsistency in Compress
Details

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.

Database specific
{
    "nvd_published_at": "2021-07-13T08:15:00Z",
    "cwe_ids": [
        "CWE-130",
        "CWE-770"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-07-14T18:12:57Z"
}
References

Affected packages

Maven / org.apache.commons:commons-compress

Package

Name
org.apache.commons:commons-compress
View open source insights on deps.dev
Purl
pkg:maven/org.apache.commons/commons-compress

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.21

Affected versions

1.*

1.0
1.1
1.2
1.3
1.4
1.4.1
1.5
1.6
1.7
1.8
1.8.1
1.9
1.10
1.11
1.12
1.13
1.14
1.15
1.16
1.16.1
1.17
1.18
1.19
1.20