{"answers":{"affected":"4 open source packages ship an affected version, including io.github.1tchy.java9modular.org.apache.commons:commons-compress and org.apache.commons:commons-compress. It affects 19 products.","exploited":"There is no known exploitation of CVE-2019-12402 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2019-12402 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 29 Aug 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-12402 and fix it if it is affected.\n\nWhat it is: CVE-2019-12402 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 29 Aug 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2019-12402 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.github.1tchy.java9modular.org.apache.commons:commons-compress (Maven): affected all versions; no fix listed\n- io.github.1tchy.java9modular.org.apache.commons:commons-compress (Maven): affected all versions; no fix listed\n- org.apache.commons:commons-compress (Maven): affected from 1.15; fixed in 1.19\n- org.apache.commons:commons-compress (Maven): affected from 1.15; fixed in 1.19\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2019-12402/ (Markdown: https://insights.sbomify.com/CVE-2019-12402/index.md)","id":"CVE-2019-12402","markdown":"https://insights.sbomify.com/CVE-2019-12402/index.md","name":"CVE-2019-12402","record":{"aliases":["CLSA-2026-1784769508","DEBIAN-CVE-2019-12402","GHSA-53x6-4x5p-rrvv","MGASA-2020-0001","UBUNTU-CVE-2019-12402"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java compression library","requires_auth":"none","summary":"An attacker can cause a denial of service via an infinite loop in Apache Commons Compress by providing specially crafted file names in an archive.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"commons_compress","vendor":"apache"},{"product":"fedora","vendor":"fedoraproject"},{"product":"banking_payments","vendor":"oracle"},{"product":"banking_platform","vendor":"oracle"},{"product":"communications_element_manager","vendor":"oracle"},{"product":"communications_ip_service_activator","vendor":"oracle"},{"product":"communications_session_report_manager","vendor":"oracle"},{"product":"communications_session_route_manager","vendor":"oracle"},{"product":"customer_management_and_segmentation_foundation","vendor":"oracle"},{"product":"essbase","vendor":"oracle"},{"product":"flexcube_investor_servicing","vendor":"oracle"},{"product":"flexcube_private_banking","vendor":"oracle"},{"product":"hyperion_infrastructure_technology","vendor":"oracle"},{"product":"jdeveloper","vendor":"oracle"},{"product":"peoplesoft_enterprise_pt_peopletools","vendor":"oracle"},{"product":"primavera_gateway","vendor":"oracle"},{"product":"retail_integration_bus","vendor":"oracle"},{"product":"retail_xstore_point_of_service","vendor":"oracle"},{"product":"webcenter_portal","vendor":"oracle"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"description":"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Denial of Service in Apache Commons Compress","id":"CVE-2019-12402","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"fedoraproject:fedora","products":["fedoraproject:fedora","oracle:banking_platform","oracle:communications_element_manager","oracle:communications_session_report_manager","oracle:communications_session_route_manager","oracle:essbase","oracle:flexcube_private_banking","oracle:hyperion_infrastructure_technology","oracle:primavera_gateway","oracle:retail_xstore_point_of_service","oracle:webcenter_portal"],"type":"denial_of_service","year":"2019"},"n_packages":4,"n_references":30,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2019-12403"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":[],"last_affected":[],"package":"io.github.1tchy.java9modular.org.apache.commons:commons-compress","purl":null,"source":"GHSA-53x6-4x5p-rrvv"},{"ecosystem":"Maven","fixed":[],"introduced":[],"last_affected":[],"package":"io.github.1tchy.java9modular.org.apache.commons:commons-compress","purl":"pkg:maven/io.github.1tchy.java9modular.org.apache.commons/commons-compress","source":"GHSA-53x6-4x5p-rrvv"},{"ecosystem":"Maven","fixed":["1.19"],"introduced":["1.15"],"last_affected":[],"package":"org.apache.commons:commons-compress","purl":null,"source":"GHSA-53x6-4x5p-rrvv"},{"ecosystem":"Maven","fixed":["1.19"],"introduced":["1.15"],"last_affected":[],"package":"org.apache.commons:commons-compress","purl":"pkg:maven/org.apache.commons/commons-compress","source":"GHSA-53x6-4x5p-rrvv"}],"prev":{"headline":"Apache Solr vulnerable to XML Bomb","id":"CVE-2019-12401"},"products":["Apache Commons Compress"],"published":"2019-08-29","related":[{"cvss_score":8.1,"headline":"Apache Commons Compress: Denial of service caused by an infinite loop for a corrupted DUMP file","id":"CVE-2024-25710","kev_date_added":null,"published":"2024-02-19"},{"cvss_score":7.5,"headline":"Apache Commons Compress 1.6 to 1.20 denial of service vulnerability","id":"CVE-2021-35515","kev_date_added":null,"published":"2021-07-13"},{"cvss_score":7.5,"headline":"Apache Commons Compress 1.6 to 1.20 denial of service vulnerability","id":"CVE-2021-35516","kev_date_added":null,"published":"2021-07-13"},{"cvss_score":7.5,"headline":"Apache Commons Compress 1.1 to 1.20 denial of service vulnerability","id":"CVE-2021-35517","kev_date_added":null,"published":"2021-07-13"},{"cvss_score":7.5,"headline":"Apache Commons Compress 1.0 to 1.20 denial of service vulnerability","id":"CVE-2021-36090","kev_date_added":null,"published":"2021-07-13"},{"cvss_score":5.5,"headline":"Apache Commons Compress: OutOfMemoryError unpacking broken Pack200 file","id":"CVE-2024-26308","kev_date_added":null,"published":"2024-02-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Apache Software Foundation"]},"summary":"An attacker can cause a denial of service via an infinite loop in Apache Commons Compress by providing specially crafted file names in an archive.","url":"https://insights.sbomify.com/CVE-2019-12402/"}