Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS12NGY0LTIzd2MtOTltaM4AA0KW
pipreqs vulnerable to Dependency Confusion
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.
Permalink: https://github.com/advisories/GHSA-v4f4-23wc-99mhJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS12NGY0LTIzd2MtOTltaM4AA0KW
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 1 year ago
Updated: about 2 months ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Percentage: 0.00317
EPSS Percentile: 0.70741
Identifiers: GHSA-v4f4-23wc-99mh, CVE-2023-31543
References:
- https://nvd.nist.gov/vuln/detail/CVE-2023-31543
- https://github.com/bndr/pipreqs/pull/364
- https://gist.github.com/adeadfed/ccc834440af354a5638f889bee34bafe
- https://github.com/bndr/pipreqs/commit/3f5964fcb90ec6eb6df46d78e651a1b73538d0ba
- https://github.com/bndr/pipreqs/blob/master/pipreqs/pipreqs.py#L447-L449
- https://github.com/pypa/advisory-database/tree/main/vulns/pipreqs/PYSEC-2023-99.yaml
- https://github.com/advisories/GHSA-v4f4-23wc-99mh
Blast Radius: 34.0
Affected Packages
pypi:pipreqs
Dependent packages: 80Dependent repositories: 2,975
Downloads: 921,655 last month
Affected Version Ranges: >= 0.3.0, < 0.4.12
Fixed in: 0.4.12
All affected versions: 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.4.10, 0.4.11
All unaffected versions: 0.1.0, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.7, 0.2.8, 0.2.9, 0.4.12, 0.4.13, 0.5.0