{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min.","exploited":"There is no known exploitation of CVE-2025-4435 in the wild and no public exploit code.","fix":"Upgrade libpython to a fixed version for your release line: 3.9.23, 3.10.18, 3.11.13 or 3.12.11.","what":"CVE-2025-4435 is a high-severity path traversal vulnerability in CPython, published on 3 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-4435 and fix it if it is affected.\n\nWhat it is: CVE-2025-4435 is a high-severity path traversal vulnerability in CPython, published on 3 Jun 2025. 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-2025-4435 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- libpython (Bitnami): affected all versions; fixed in 3.9.23, 3.10.18, 3.11.13, 3.12.11, 3.13.4\n- python (Bitnami): affected all versions; fixed in 3.9.23, 3.10.18, 3.11.13, 3.12.11, 3.13.4\n- python-min (Bitnami): affected all versions; fixed in 3.9.23, 3.10.18, 3.11.13, 3.12.11, 3.13.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-2025-4435/ (Markdown: https://insights.sbomify.com/CVE-2025-4435/index.md)","id":"CVE-2025-4435","markdown":"https://insights.sbomify.com/CVE-2025-4435/index.md","name":"CVE-2025-4435","record":{"aliases":["AZL-62298","BELL-CVE-2025-4435","BIT-libpython-2025-4435","BIT-python-2025-4435","BIT-python-min-2025-4435","DEBIAN-CVE-2025-4435","ECHO-8b45-3518-603b","GHSA-p72v-37h5-753v","MINI-3rpc-52rh-wv5x","MINI-rc4m-2452-vc27","MINI-w89c-v6mh-86jm","MINI-w8cf-m39w-8m59","PSF-2025-8","UBUNTU-CVE-2025-4435"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_modify","code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Python standard library","requires_auth":"none","summary":"Attackers can bypass tarfile extraction filters when errorlevel is set to 0, potentially writing files to unintended locations.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PSF","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-682","name":"Incorrect Calculation"}],"description":"When using a TarFile.errorlevel = 0 and extracting with a filter the documented behavior is that any filtered members would be skipped and not extracted. However the actual behavior of TarFile.errorlevel = 0 in affected versions is that the member would still be extracted and not skipped.","ecosystems":["Bitnami"],"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":"Tarfile extracts filtered members when errorlevel=0","id":"CVE-2025-4435","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":3,"n_references":11,"next":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2025-4436"},"packages":[{"ecosystem":"Bitnami","fixed":["3.9.23","3.10.18","3.11.13","3.12.11","3.13.4"],"introduced":["0","3.10.0","3.11.0","3.12.0","3.13.0"],"last_affected":[],"package":"libpython","purl":"pkg:bitnami/libpython","source":"BIT-libpython-2025-4435"},{"ecosystem":"Bitnami","fixed":["3.9.23","3.10.18","3.11.13","3.12.11","3.13.4"],"introduced":["0","3.10.0","3.11.0","3.12.0","3.13.0"],"last_affected":[],"package":"python","purl":"pkg:bitnami/python","source":"BIT-python-2025-4435"},{"ecosystem":"Bitnami","fixed":["3.9.23","3.10.18","3.11.13","3.12.11","3.13.4"],"introduced":["0","3.10.0","3.11.0","3.12.0","3.13.0"],"last_affected":[],"package":"python-min","purl":"pkg:bitnami/python-min","source":"BIT-python-min-2025-4435"}],"prev":{"headline":"** REJECT ** DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2025-4434"},"products":["CPython"],"published":"2025-06-03","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-31","vendors":["Python Software Foundation"]},"summary":"Attackers can bypass tarfile extraction filters when errorlevel is set to 0, potentially writing files to unintended locations.","url":"https://insights.sbomify.com/CVE-2025-4435/"}