{"answers":{"affected":"3 open source packages ship an affected version, including bzip2. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-22895 exists.","fix":"Upgrade bzip2 to 0.4.4 or later.","what":"CVE-2023-22895 is a high-severity vulnerability in n/a, published on 10 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-22895 and fix it if it is affected.\n\nWhat it is: CVE-2023-22895 is a high-severity vulnerability in n/a, published on 10 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-22895 exists.\n\nAffected packages and fixed versions:\n- bzip2 (crates.io): affected all versions; fixed in 0.4.4\n- bzip2 (crates.io): affected all versions; fixed in 0.4.4\n- bzip2 (crates.io): affected from 0.0.0-0; fixed in 0.4.4\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-2023-22895/ (Markdown: https://insights.sbomify.com/CVE-2023-22895/index.md)","id":"CVE-2023-22895","markdown":"https://insights.sbomify.com/CVE-2023-22895/index.md","name":"CVE-2023-22895","record":{"aliases":["DEBIAN-CVE-2023-22895","GHSA-96jv-r488-c2rj","RUSTSEC-2023-0004","UBUNTU-CVE-2023-22895","openSUSE-SU-2024:12610-1","openSUSE-SU-2024:12614-1","openSUSE-SU-2024:12616-1","openSUSE-SU-2025:15094-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Rust bzip2 crate","requires_auth":"none","summary":"Attackers can cause denial of service in applications using the Rust bzip2 crate by providing a large file that triggers an integer overflow.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"bzip2","vendor":"bzip2_project"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","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-190","name":"Integer Overflow or Wraparound"}],"description":"The bzip2 crate before 0.4.4 for Rust allow attackers to cause a denial of service via a large file that triggers an integer overflow in mem.rs. NOTE: this is unrelated to the https://crates.io/crates/bzip2-rs product.","ecosystems":["crates.io","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"bzip2 allows attackers to cause a denial of service via a large file that triggers an integer overflow","id":"CVE-2023-22895","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"integer_overflow","year":"2023"},"n_packages":6,"n_references":5,"next":{"headline":"Information disclosure in n/a","id":"CVE-2023-22897"},"packages":[{"ecosystem":"crates.io","fixed":["0.4.4"],"introduced":["0"],"last_affected":[],"package":"bzip2","purl":null,"source":"GHSA-96jv-r488-c2rj"},{"ecosystem":"crates.io","fixed":["0.4.4"],"introduced":["0"],"last_affected":[],"package":"bzip2","purl":"pkg:cargo/bzip2","source":"GHSA-96jv-r488-c2rj"},{"ecosystem":"crates.io","fixed":["0.4.4"],"introduced":["0.0.0-0"],"last_affected":[],"package":"bzip2","purl":"pkg:cargo/bzip2","source":"RUSTSEC-2023-0004"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.9.1-1.3"],"introduced":["0"],"last_affected":[],"package":"python-cramjam","purl":"pkg:rpm/opensuse/python-cramjam\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15094-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.9.0+0-4.1"],"introduced":["0"],"last_affected":[],"package":"rage-encryption","purl":"pkg:rpm/opensuse/rage-encryption\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12610-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.10.3~0-2.1"],"introduced":["0"],"last_affected":[],"package":"wasm-pack","purl":"pkg:rpm/opensuse/wasm-pack\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12616-1"}],"prev":{"headline":"Strapi Cleartext Storage of Sensitive Information","id":"CVE-2023-22894"},"products":["n/a"],"published":"2023-01-10","related":[],"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":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-07","vendors":["n/a"]},"summary":"Attackers can cause denial of service in applications using the Rust bzip2 crate by providing a large file that triggers an integer overflow.","url":"https://insights.sbomify.com/CVE-2023-22895/"}