{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-33595 in the wild and no public exploit code.","fix":"Upgrade libpython to 3.12.0-alpha8 or later.","what":"CVE-2023-33595 is a medium-severity use after free vulnerability in Python Python, published on 7 Jun 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-33595 and fix it if it is affected.\n\nWhat it is: CVE-2023-33595 is a medium-severity use after free vulnerability in Python Python, published on 7 Jun 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-33595 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- libpython (Bitnami): affected from 3.12.0-alpha0; fixed in 3.12.0-alpha8\n- python (Bitnami): affected from 3.12.0-alpha0; fixed in 3.12.0-alpha8\n- python-min (Bitnami): affected from 3.12.0-alpha0; fixed in 3.12.0-alpha8\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-33595/ (Markdown: https://insights.sbomify.com/CVE-2023-33595/index.md)","id":"CVE-2023-33595","markdown":"https://insights.sbomify.com/CVE-2023-33595/index.md","name":"CVE-2023-33595","record":{"aliases":["BIT-libpython-2023-33595","BIT-python-2023-33595","BIT-python-min-2023-33595","GHSA-pqc2-g93j-9599","PSF-2023-3"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python interpreter","requires_auth":"none","summary":"A heap use-after-free in CPython's ascii_decode function allows attackers to potentially execute arbitrary code or cause a denial of service.","user_interaction":"required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"python","vendor":"python"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"CPython v3.12.0 alpha 7 was discovered to contain a heap use-after-free via the function ascii_decode at /Objects/unicodeobject.c.","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":"Use after free in n/a","id":"CVE-2023-33595","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"python:python","products":["python:python"],"type":"use_after_free","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2023-33599"},"packages":[{"ecosystem":"Bitnami","fixed":["3.12.0-alpha8"],"introduced":["3.12.0-alpha0"],"last_affected":[],"package":"libpython","purl":"pkg:bitnami/libpython","source":"BIT-libpython-2023-33595"},{"ecosystem":"Bitnami","fixed":["3.12.0-alpha8"],"introduced":["3.12.0-alpha0"],"last_affected":[],"package":"python","purl":"pkg:bitnami/python","source":"BIT-python-2023-33595"},{"ecosystem":"Bitnami","fixed":["3.12.0-alpha8"],"introduced":["3.12.0-alpha0"],"last_affected":[],"package":"python-min","purl":"pkg:bitnami/python-min","source":"BIT-python-min-2023-33595"}],"prev":{"headline":"SQL injection in n/a","id":"CVE-2023-33592"},"products":["n/a"],"published":"2023-06-07","related":[{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2008-5031","kev_date_added":null,"published":"2008-11-10"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2014-4650","kev_date_added":null,"published":"2020-02-20"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2016-5636","kev_date_added":null,"published":"2016-09-02"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2007-4559","kev_date_added":null,"published":"2007-08-28"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2017-17522","kev_date_added":null,"published":"2017-12-14"},{"cvss_score":8.7,"headline":"Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations","id":"CVE-2026-15308","kev_date_added":null,"published":"2026-07-09"},{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2019-13404","kev_date_added":null,"published":"2019-07-08"}],"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":"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-02","vendors":["n/a"]},"summary":"A heap use-after-free in CPython's ascii_decode function allows attackers to potentially execute arbitrary code or cause a denial of service.","url":"https://insights.sbomify.com/CVE-2023-33595/"}