CVE-2023-31543
JSON

9.8critical

pipreqs vulnerable to Dependency Confusion

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
1.18% (higher than 68% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-v4f4-23wc-99mhPYSEC-2023-99

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
pipreqs (PyPI)from 0.3.0 before 0.4.12GitHub Advisory Database, PyPA Advisory Database
pipreqs_project pipreqsfrom 0.3.0 up to 0.4.11NVD

All scores

GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-427

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-31543 changed 2024-11-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-v4f4-23wc-99mh changed 2024-10-14CC-BY-4.0
NVDCVE-2023-31543 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2023-99 changed 2026-06-10CC-BY-4.0