Vulnerability · Published Jun 30, 2023 · Assigned by mitre

CVE-2023-31543

Critical 9.8

In plain English

A critical-severity security flaw in the pipreqs package (PyPI). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.2%top 32.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpipreqs0.4.12GHSA-v4f4-23wc-99mh
PyPIpipreqs0.4.12PYSEC-2023-99

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References