{"answers":{"affected":"3 open source packages ship an affected version, including python-libarchive.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-55587 exists.","fix":"No fix has been published for CVE-2024-55587 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-55587 is a high-severity path traversal vulnerability in n/a, published on 11 Dec 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-55587 and fix it if it is affected.\n\nWhat it is: CVE-2024-55587 is a high-severity path traversal vulnerability in n/a, published on 11 Dec 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-55587 exists.\n\nAffected packages and fixed versions:\n- python-libarchive (PyPI): affected all versions up to 4.2.1; no fix listed\n- python-libarchive (PyPI): affected all versions up to 4.2.1; no fix listed\n- python-libarchive (PyPI): affected all versions up to 4.2.1; no fix listed\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-2024-55587/ (Markdown: https://insights.sbomify.com/CVE-2024-55587/index.md)","id":"CVE-2024-55587","markdown":"https://insights.sbomify.com/CVE-2024-55587/index.md","name":"CVE-2024-55587","record":{"aliases":["GHSA-75mx-hw5q-pvx3","PYSEC-2026-1848"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Python libarchive library","requires_auth":"low_privilege","summary":"Attackers can exploit directory traversal in python-libarchive to create files outside the intended extraction directory.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"python-libarchive through 4.2.1 allows directory traversal (to create files) in extract in zip.py for ZipFile.extractall and ZipFile.extract.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":"2024-12-10","github_poc":1,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-12-10T06:59:00Z","kind":"github_poc","ref":"https://github.com/CSIRTTrizna/CVE-2024-55587","stars":2,"title":null}],"tier":"weaponised"},"has_fix":false,"headline":"python-libarchive directory traversal","id":"CVE-2024-55587","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":3,"n_references":3,"next":{"headline":"Command injection in FortiIsolator","id":"CVE-2024-55590"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["4.2.1"],"package":"python-libarchive","purl":null,"source":"GHSA-75mx-hw5q-pvx3"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["4.2.1"],"package":"python-libarchive","purl":"pkg:pypi/python-libarchive","source":"GHSA-75mx-hw5q-pvx3"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["4.2.1"],"package":"python-libarchive","purl":"pkg:pypi/python-libarchive","source":"PYSEC-2026-1848"}],"prev":{"headline":"SQL injection in n/a","id":"CVE-2024-55586"},"products":["n/a"],"published":"2024-12-11","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":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-12-12","vendors":["n/a"]},"summary":"Attackers can exploit directory traversal in python-libarchive to create files outside the intended extraction directory.","url":"https://insights.sbomify.com/CVE-2024-55587/"}