Apache Commons Compress 1.6 to 1.20 denial of service vulnerability
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache Commons Compress | affected |
|
Configuration 1 [-]
|
Configuration 2 [-]
|
Configuration 3 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Fuse 7.11 | |||
| apache-commons-compress | cpe:/a:redhat:jboss_fuse:7 | RHSA-2022:5532 | 2022-07-07T00:00:00Z |
| Red Hat Virtualization Engine 4.4 | |||
| apache-commons-compress-0:1.21-1.2.el8ev | cpe:/a:redhat:rhev_manager:4.4:el8 | RHSA-2022:5555 | 2022-07-14T00:00:00Z |
No data available yet.
Vendor Workaround
Commons Compress users should upgrade to 1.21 or later. With Compress 1.19 we introduced a feature that tries to recover broken 7z archives, which makes it far easier to exploit this weakness. As a result we have disabled the recovery code by default and users need to enable it explicitly. In addition users are able to control the amount of memory SevenZFile may use and we strongly recommend using this feature when trying to recover broken archives.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2021-1684 | 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. |
Github GHSA |
GHSA-crv7-7245-f45f | Improper Handling of Length Parameter Inconsistency in Compress |
No CVSS v4.0
No CVSS v3.0
This CVE is not in the KEV list.
Exploit prediction score: 12.4% (12.365% probability within 30 days)
Key SSVC decision points have not yet been added.
No history.