{"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-2020-8315 in the wild and no public exploit code.","fix":"Upgrade libpython to a fixed version for your release line: 3.6.11, 3.7.7 or 3.8.2.","what":"CVE-2020-8315 is a medium-severity vulnerability in Python Python, published on 28 Jan 2020. 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-2020-8315 and fix it if it is affected.\n\nWhat it is: CVE-2020-8315 is a medium-severity vulnerability in Python Python, published on 28 Jan 2020. 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-2020-8315 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- libpython (Bitnami): affected from 3.6.0; fixed in 3.6.11, 3.7.7, 3.8.2\n- python (Bitnami): affected from 3.6.0; fixed in 3.6.11, 3.7.7, 3.8.2\n- python-min (Bitnami): affected from 3.6.0; fixed in 3.6.11, 3.7.7, 3.8.2\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-2020-8315/ (Markdown: https://insights.sbomify.com/CVE-2020-8315/index.md)","id":"CVE-2020-8315","markdown":"https://insights.sbomify.com/CVE-2020-8315/index.md","name":"CVE-2020-8315","record":{"aliases":["ALPINE-CVE-2020-8315","BIT-libpython-2020-8315","BIT-python-2020-8315","BIT-python-min-2020-8315","CLEANSTART-2026-LG19645","GHSA-646c-5wg7-pw2g","PSF-2020-7"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python runtime","requires_auth":"none","summary":"An attacker can execute arbitrary code by placing a malicious DLL in the application directory on Windows 7 systems running Python.","user_interaction":"required","vuln_class":"other"},"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:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-427","name":"Uncontrolled Search Path Element"}],"description":"In Python (CPython) 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1, an insecure dependency load upon launch on Windows 7 may result in an attacker's copy of api-ms-win-core-path-l1-1-0.dll being loaded and used instead of the system's copy. Windows 8 and later are unaffected.","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":"Other in n/a","id":"CVE-2020-8315","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"python:python","products":["python:python"],"type":"other","year":"2020"},"n_packages":3,"n_references":1,"next":{"headline":"Information disclosure in Vantage","id":"CVE-2020-8316"},"packages":[{"ecosystem":"Bitnami","fixed":["3.6.11","3.7.7","3.8.2"],"introduced":["3.6.0","3.7.0","3.8.0"],"last_affected":[],"package":"libpython","purl":"pkg:bitnami/libpython","source":"BIT-libpython-2020-8315"},{"ecosystem":"Bitnami","fixed":["3.6.11","3.7.7","3.8.2"],"introduced":["3.6.0","3.7.0","3.8.0"],"last_affected":[],"package":"python","purl":"pkg:bitnami/python","source":"BIT-python-2020-8315"},{"ecosystem":"Bitnami","fixed":["3.6.11","3.7.7","3.8.2"],"introduced":["3.6.0","3.7.0","3.8.0"],"last_affected":[],"package":"python-min","purl":"pkg:bitnami/python-min","source":"BIT-python-min-2020-8315"}],"prev":{"headline":"Auth bypass in Citrix ADC, Citrix Gateway","id":"CVE-2020-8300"},"products":["n/a"],"published":"2020-01-28","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":"2026-10-14","vendors":["n/a"]},"summary":"An attacker can execute arbitrary code by placing a malicious DLL in the application directory on Windows 7 systems running Python.","url":"https://insights.sbomify.com/CVE-2020-8315/"}