PyPA Advisory Database
PYSEC-2023-99
Details
A dependency confusion in pipreqs v0.3.0 to v0.4.11 allows attackers to execute arbitrary code via uploading a crafted PyPI package to the chosen repository server.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | pipreqs | From 0.3.0 before 0.4.12 (fixed in 0.4.12) |
References
- https://github.com/bndr/pipreqs/pull/364
- https://github.com/bndr/pipreqs/pull/364
- https://github.com/bndr/pipreqs/pull/364
- https://github.com/bndr/pipreqs/pull/364
- https://gist.github.com/adeadfed/ccc834440af354a5638f889bee34bafe
- https://gist.github.com/adeadfed/ccc834440af354a5638f889bee34bafe
- https://github.com/advisories/GHSA-v4f4-23wc-99mh