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-99mh
JSON: 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: Repository: https://github.com/bndr/pipreqs
Blast Radius: 34.0

Affected Packages

pypi:pipreqs
Dependent packages: 80
Dependent 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