CVE-2023-31543
CRITICALCVSS 9.8/10EPSS 1.09%
Last modified
CVE-2023-31543 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 1.09% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pipreqs Project | Pipreqs | >= 0.3.0, <= 0.4.11 |
References
- https://gist.github.com/adeadfed/ccc834440af354a5638f889bee34bafeExploit, Mitigation, Third Party Advisory
- https://github.com/bndr/pipreqs/pull/364Exploit, Mitigation, Patch, Vendor Advisory
- https://gist.github.com/adeadfed/ccc834440af354a5638f889bee34bafeExploit, Mitigation, Third Party Advisory
- https://github.com/bndr/pipreqs/pull/364Exploit, Mitigation, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-31543?
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 severe is CVE-2023-31543?
CVE-2023-31543 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 1.09% probability of exploitation in the next 30 days.
How do I fix CVE-2023-31543?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2023-31543?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
