CVE-2019-12402: High severity Apache Commons Compress vulnerability

Published Aug 27, 2019
·
Updated

A resource consumption vulnerability was discovered in apache-commons-compress in the way NioZipEncoding encodes filenames. Applications that use Compress to create archives, with one of the filenames within the archive being controlled by the user, may be vulnerable to this flaw. A remote attacker could exploit this flaw to cause an infinite loop during the archive creation, thus leading to a denial of service.

Other sources

The file name encoding algorithm used internally in Apache Commons Compress 1.15 to 1.18 can get into an infinite loop when faced with specially crafted inputs. This can lead to a denial of service attack if an attacker can choose the file names inside of an archive created by Compress.

Affected Software

41 affected componentsFixes available
maven/io.github.1tchy.java9modular.org.apache.commons:commons-compress=1.18.1
maven/org.apache.commons:commons-compress>=1.15<1.19
1.19
redhat/apache-commons-compress<1.19
1.19
Apache Commons Compress>=1.15<=1.18
Fedoraproject Fedora=30
Fedoraproject Fedora=31
Oracle Banking Payments>=14.1.0<=14.4.0
Oracle Banking Platform=2.6.2
Oracle Banking Platform=2.7.0
Oracle Banking Platform=2.8.0
Oracle Banking Platform=2.9.0
Oracle Communications Element Manager>=8.2.0<=8.2.2
Oracle Communications Ip Service Activator=7.3.0
Oracle Communications Ip Service Activator=7.4.0
Oracle Communications Session Report Manager>=8.2.0<=8.2.2
Oracle Communications Session Route Manager>=8.2.0<=8.2.2
Oracle Customer Management And Segmentation Foundation=18.0
Oracle Essbase=21.2
Oracle FLEXCUBE Investor Servicing=12.1.0
Oracle FLEXCUBE Investor Servicing=12.3.0
Oracle FLEXCUBE Investor Servicing=12.4.0
Oracle FLEXCUBE Investor Servicing=14.0.0
Oracle FLEXCUBE Investor Servicing=14.1.0
Oracle FLEXCUBE Private Banking=12.0.0
Oracle FLEXCUBE Private Banking=12.1.0
Oracle Hyperion Infrastructure Technology=11.1.2.4
Oracle JDeveloper=12.2.1.4.0
Oracle PeopleSoft Enterprise PT PeopleTools=8.56
Oracle PeopleSoft Enterprise PT PeopleTools=8.57
Oracle PeopleSoft Enterprise PT PeopleTools=8.58
Oracle Primavera Gateway>=18.8.0<=18.8.8
Oracle Primavera Gateway=19.12.0
Oracle Retail Integration Bus=15.0
Oracle Retail Integration Bus=16.0
Oracle Retail Xstore Point of Service=15.0
Oracle Retail Xstore Point of Service=16.0
Oracle Retail Xstore Point of Service=17.0
Oracle Retail Xstore Point of Service=18.0
Oracle Retail Xstore Point of Service=19.0
Oracle WebCenter Portal=12.2.1.3.0
Oracle WebCenter Portal=12.2.1.4.0

Event History

Aug 27, 2019
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 29, 2019
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Oct 11, 2019
Advisory Published
06:41 PM
Oct 23, 2019
Data Sourced
via Red Hat·01:54 PM
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 CVE-2019-12402?

CVE-2019-12402 is a vulnerability in Apache Commons Compress versions 1.15 to 1.18 that allows resource consumption attacks through a file name encoding algorithm.

2

What is the severity of CVE-2019-12402?

The severity of CVE-2019-12402 is high, with a CVSS severity score of 7.5.

3

Which software packages are affected by CVE-2019-12402?

Apache Commons Compress versions 1.15 to 1.18, io.github.1tchy.java9modular.org.apache.commons:commons-compress 1.18.1, and org.apache.commons:commons-compress versions 1.15 to 1.19 are affected by CVE-2019-12402.

4

How can an application be vulnerable to CVE-2019-12402?

Applications that use Compress to create archives, with one of the filenames within the archive being controlled by the user, may be vulnerable to CVE-2019-12402.

5

Where can I find more information about CVE-2019-12402?

You can find more information about CVE-2019-12402 on the CVE website (https://www.cve.org/CVERecord?id=CVE-2019-12402) and the NIST National Vulnerability Database (https://nvd.nist.gov/vuln/detail/CVE-2019-12402).

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