CVE-2023-31543
pipreqs vulnerable to Dependency Confusion
9.8
CRITICAL
CVSS 3.1
EPSS 0.83%
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.
How to fix CVE-2023-31543
To remediate CVE-2023-31543, upgrade the affected package to a fixed version below.
- PyPI/pipreqs—upgrade to 0.4.12 or later
- —upgrade to 0.4.12 or later
Is CVE-2023-31543 being exploited?
Low — EPSS is 0.8%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 0.3.0, < 0.4.12
- >= 0.3.0, < 0.4.12
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |