Vulnerability in Apache Commons Compress

CVE-2018-11771

When reading a specially crafted ZIP archive, the read method of Apache Commons Compress 1.7 to 1.17's ZipArchiveInputStream can fail to return the correct EOF indication after the end of the stream has been reached. When combined with a java.io.InputStreamReader this can lead to an infinite stream, which can be used to mount a denial of service attack against services that use Compress' zip package.

EPSS: 0.053 (92.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-11771?
CVE-2018-11771 is a medium-severity vulnerability in Apache Commons Compress, classified under Loop with Unreachable Exit Condition (Infinite Loop). CVSS score: 5.5/10. Published 2018-08-16.
How severe is CVE-2018-11771?
Medium severity. CVSS v3 base score is 5.5 out of 10.
Is CVE-2018-11771 known to be exploited?
17 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.