{"cve":"CVE-2023-31543","nvd":{"published":"2023-06-30T20:15:09.477","modified":"2026-06-17T05:57:09.227","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-427"],"references":["https://gist.github.com/adeadfed/ccc834440af354a5638f889bee34bafe","https://github.com/bndr/pipreqs/pull/364","https://gist.github.com/adeadfed/ccc834440af354a5638f889bee34bafe","https://github.com/bndr/pipreqs/pull/364"],"products":["pipreqs_project:pipreqs"],"source":"nvd","synced_at":"2026-10-19T21:38:30.124994567+00:00"},"epss":{"cve":"CVE-2023-31543","score":0.01187,"percentile":0.67898,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-v4f4-23wc-99mh","url":"https://osv.dev/vulnerability/GHSA-v4f4-23wc-99mh","summary":"pipreqs vulnerable to Dependency Confusion","modified":"2024-10-14T18:48:38.278705Z","packages":[{"ecosystem":"PyPI","name":"pipreqs","purl":"pkg:pypi/pipreqs","ranges":[">=0.3.0 <0.4.12"],"fixed":["0.4.12"]}]},{"id":"PYSEC-2023-99","url":"https://osv.dev/vulnerability/PYSEC-2023-99","summary":"","modified":"2026-06-10T17:02:29.025319375Z","packages":[{"ecosystem":"PyPI","name":"pipreqs","purl":"pkg:pypi/pipreqs","ranges":[">=0.3.0 <0.4.12"],"fixed":["0.4.12"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}