CVE-2018-11771: Medium severity Apache Commons Compress vulnerability

Published Aug 16, 2018
·
Updated

Apache Commons Compress is vulnerable to a denial of service, caused by the failure to return the correct EOF indication after the end of the stream has been reached by the ZipArchiveInputStream method. By reading a specially crafted ZIP archive, a remote attacker could exploit this vulnerability to cause the application to enter into an infinite loop.

Other sources

Apache Commons Compress versions 1.7 to 1.17 are vulnerable to a denial of service attack via crafted ZIP archive. When reading a specially crafted ZIP archive, the read method of 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.

External Reference:

https://lists.apache.org/thread.html/b8da751fc0ca949534cdf2744111da6bb0349d2798fac94b0a50f330@%3Cannounce.apache.org%3E

Red Hat

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.

Affected Software

4 affected componentsFixes available
redhat/apache-commons-compress<1.18
1.18
maven/org.apache.commons:commons-compress>=1.7<1.18
1.18
Apache Commons Compress>=1.7.0<=1.17.0
ORACLE WebLogic Server=14.1.1.0.0

Event History

Aug 16, 2018
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
DescriptionWeakness
Aug 17, 2018
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·02:22 AM
DescriptionSeverityAffected Software
Oct 19, 2018
Advisory Published
via GitHub·04:41 PM
Nov 2, 2020
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-11771?

The severity of CVE-2018-11771 is medium with a severity value of 5.5.

2

How does CVE-2018-11771 affect Apache Commons Compress?

CVE-2018-11771 affects Apache Commons Compress versions 1.7 to 1.17 by failing to return the correct EOF indication after reaching the end of the stream, potentially leading to an infinite stream.

3

Which software versions are affected by CVE-2018-11771?

Apache Commons Compress versions 1.7 to 1.17, and Oracle WebLogic Server version 14.1.1.0.0 are affected by CVE-2018-11771.

4

How can I fix CVE-2018-11771 for Apache Commons Compress?

To fix CVE-2018-11771 for Apache Commons Compress, you need to upgrade to version 1.18.

5

How can I fix CVE-2018-11771 for Oracle WebLogic Server?

To fix CVE-2018-11771 for Oracle WebLogic Server, you need to apply the necessary patches or updates provided by Oracle.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203