Skip to content
Fencer Intel
medium 5.5

CVE-2018-11771 json

Moderate severity vulnerability that affects org.apache.commons:commons-compress

published 8y ago modified 4mo ago also GHSA-hrmr-f5m6-m9pq , EUVD-2018-0618

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.3%
EPSS 5.3% chance of exploitation in 30 days, percentile 92%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.apache.commons:commons-compress 1.18
  • libcommons-compress-java Debian 14, Debian 13, Debian 12 1.18-1

debian advisories DEBIAN-CVE-2018-11771

Is CVE-2018-11771 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-11771 updated cvss 4.3

apache-commons-compress: ZipArchiveInputStream.read() fails to identify correct EOF allowing for DoS via crafted zip

  • Red Hat JBoss Developer Studio 11 commons-compress commons-compress Red Hat BPM Suite 6 commons-compress commons-compress Red Hat JBoss BRMS 6 commons-compress commons-compress Red Hat JBoss Data Virtualization 6 commons-compress commons-compress Red Hat JBoss Fuse 6 commons-compress commons-compress Red Hat JBoss Fuse Service Works 6 commons-compress commons-compress
    +2 more products
    Red Hat JBoss Operations Network 3 commons-compress commons-compress Red Hat Mobile Application Platform 4 commons-compress
    affected: no fix planned “Out of support scope”
  • Red Hat OpenStack Platform 8 (Liberty) opendaylight Red Hat OpenStack Platform 9 (Mitaka) opendaylight
    affected: no fix planned “Will not fix”
  • Red Hat Satellite 6 lucene4-contrib
    affected: no fix planned “Out of support scope”
  • Red Hat Software Collections rh-maven35-apache-commons-compress, rh-maven35-apache-commons-compress-javadoc Red Hat Storage 3 commons-compress
    affected: no fix planned “Will not fix”
  • Red Hat Fuse 7.6.0
    fixed: vendor fix RHSA-2020:0983
  • Red Hat Enterprise Linux 7 apache-commons-compress, apache-commons-compress-javadoc Red Hat Enterprise Linux 8 apache-commons-compress, apache-commons-compress-javadoc Red Hat Software Collections rh-java-common-apache-commons-compress, rh-java-common-apache-commons-compress-javadoc Red Hat Virtualization 4 apache-commons-compress, apache-commons-compress-javadoc
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

5.25% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P
GitHub 3.0 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
maven org.apache.commons:commons-compress
>=1.7, <1.18
1.18

Affected products

  • Apache Software Foundation Apache Commons Compress

Classification

Weakness
  • CWE-835 Loop with Unreachable Exit Condition

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.