PyPI: poetry-core
CVE-2022-36070
Safety vulnerability ID: SFTY-20220907-68699
Safety legacy ID: pyup.io-71597
Poetry-core affected versions have been discovered to contain an untrusted search path, which causes the application to behave in unexpected ways when users execute Poetry commands in a directory containing malicious content. This vulnerability occurs when the application is running on Windows OS. # This only affects Windows users
Overview
Poetry vulnerable to Untrusted Search Path leading to Local Code Execution on Windows
Advisory
Poetry-core affected versions have been discovered to contain an untrusted search path, which causes the application to behave in unexpected ways when users execute Poetry commands in a directory containing malicious content. This vulnerability occurs when the application is running on Windows OS. # This only affects Windows users
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20220907-68699/CVE-2022-36070
- https://github.com/python-poetry/poetry/security/advisories/GHSA-j4j9-7hg9-97g6
- https://nvd.nist.gov/vuln/detail/CVE-2022-36070
- https://github.com/python-poetry/poetry/releases/tag/1.1.9
- https://github.com/python-poetry/poetry/releases/tag/1.2.0b1
- https://github.com/pypa/advisory-database/tree/main/vulns/poetry/PYSEC-2022-43179.yaml
- https://github.com/advisories/GHSA-j4j9-7hg9-97g6
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
