CVE-2023-31543

Source
https://cve.org/CVERecord?id=CVE-2023-31543
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-31543.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-31543
Aliases
Downstream
Related
Published
2023-06-30T00:00:00Z
Modified
2026-08-12T03:51:12Z
Summary
[none]
Details

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.

Database specific
{
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31543.json"
}
References

Affected packages

Git / github.com/bndr/pipreqs

Affected ranges

Type
GIT
Repo
https://github.com/bndr/pipreqs
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:pipreqs_project:pipreqs:*:*:*:*:*:python:*:*",
    "extracted_events": [
        {
            "introduced": "0.3.0"
        },
        {
            "last_affected": "0.4.11"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

v0.*
v0.3.0
v0.3.1
v0.3.2
v0.3.8
v0.4.0
v0.4.1
v0.4.10
v0.4.11
v0.4.2
v0.4.3
v0.4.4
v0.4.5
v0.4.6
v0.4.7
v0.4.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-31543.json"