cve.bz

CVE-2019-12402 Infinite Loop

7.5 highEPSS 16%Fix available

High (7.5). EPSS 16% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.commons:commons-compress 1.19.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
16% (unchanged from 16% a week ago; 16% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-12402 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-12402?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-12402?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-12402 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:commons_compressfrom 1.15 through 1.18
fedoraproject:fedora30
fedoraproject:fedora31
oracle:banking_paymentsfrom 14.1.0 through 14.4.0
oracle:banking_platform2.6.2
oracle:banking_platform2.7.0
oracle:banking_platform2.8.0
oracle:banking_platform2.9.0
oracle:communications_element_managerfrom 8.2.0 through 8.2.2
oracle:communications_ip_service_activator7.3.0
oracle:communications_ip_service_activator7.4.0
oracle:communications_session_report_managerfrom 8.2.0 through 8.2.2
oracle:communications_session_route_managerfrom 8.2.0 through 8.2.2
oracle:customer_management_and_segmentation_foundation18.0
oracle:essbase21.2
oracle:flexcube_investor_servicing12.1.0
oracle:flexcube_investor_servicing12.3.0
oracle:flexcube_investor_servicing12.4.0
oracle:flexcube_investor_servicing14.0.0
oracle:flexcube_investor_servicing14.1.0
oracle:flexcube_private_banking12.0.0
oracle:flexcube_private_banking12.1.0
oracle:hyperion_infrastructure_technology11.1.2.4
oracle:jdeveloper12.2.1.4.0
oracle:peoplesoft_enterprise_pt_peopletools8.56
oracle:peoplesoft_enterprise_pt_peopletools8.57
oracle:peoplesoft_enterprise_pt_peopletools8.58
oracle:primavera_gatewayfrom 18.8.0 through 18.8.8
oracle:primavera_gateway19.12.0
oracle:retail_integration_bus15.0
oracle:retail_integration_bus16.0
oracle:retail_xstore_point_of_service15.0
oracle:retail_xstore_point_of_service16.0
oracle:retail_xstore_point_of_service17.0
oracle:retail_xstore_point_of_service18.0
oracle:retail_xstore_point_of_service19.0
oracle:webcenter_portal12.2.1.3.0
oracle:webcenter_portal12.2.1.4.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-53x6-4x5p-rrvvMavenorg.apache.commons:commons-compress>=1.15 <1.191.19
GHSA-53x6-4x5p-rrvvMavenio.github.1tchy.java9modular.org.apache.commons:commons-compress1.18.1no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libcommons-compress-java1.18-3DEBIAN-CVE-2019-12402
Ubuntu18.04:LTSlibcommons-compress-javano fix listedUBUNTU-CVE-2019-12402
openSUSETumbleweedapache-commons-compress1.21-1.2openSUSE-SU-2024:10618-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue does not affect the versions of apache-commons-compress as shipped with Red Hat Enterprise Linux 7, and the versions of rh-java-common-apache-commons-compress and rh-maven35-apache-commons-compress as shipped with Red Hat Software Collections 3, as they used a fallback zip encoding implementation (leveraging java.io) to encode filenames.

This issue does not affect the versions of rh-maven36-apache-commons-compress as shipped with Red Hat Software Collection 3 as they already include the patch.

ProductPackageStateAdvisory
Red Hat Fuse 7.9apache-commons-compressFixed 2021-08-11RHSA-2021:3140
A-MQ Clients 2apache-commons-compressNot affected
Red Hat BPM Suite 6apache-commons-compressNot affected
Red Hat Data Grid 8apache-commons-compressNot affected
Red Hat Decision Manager 7apache-commons-compressNot affected
Red Hat Enterprise Linux 7apache-commons-compressNot affected
Red Hat Integration Camel K 1apache-commons-compressNot affected
Red Hat Integration Service Registryapache-commons-compressNot affected
Red Hat JBoss BRMS 6apache-commons-compressNot affected
Red Hat JBoss Data Virtualization 6apache-commons-compressOut of support scope
Red Hat JBoss Enterprise Application Platform 6apache-commons-compressNot affected
Red Hat JBoss Fuse 6apache-commons-compressNot affected
Red Hat JBoss Fuse Service Works 6apache-commons-compressNot affected
Red Hat Process Automation 7apache-commons-compressNot affected
Red Hat Software Collectionsrh-java-common-apache-commons-compressNot affected
Red Hat Software Collectionsrh-maven35-apache-commons-compressNot affected
Red Hat Software Collectionsrh-maven36-apache-commons-compressNot affected
Red Hat Virtualization 4apache-commons-compressNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-12402.

References

Check your stackJSON