Skip to content
OpenAdvisories
Critical · 9.8 CVE-2023-31543 EUVD-2023-0201GHSA-v4f4-23wc-99mhPYSEC-2023-99

pipreqs vulnerable to Dependency Confusion

Published Jun 30, 2023 · Updated Nov 26, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-pipreqs 0.5.0-2.2 openSUSE-SU-2026:12026-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pipreqs >= 0.3.0, < 0.4.12 0.4.12 GHSA-v4f4-23wc-99mh

Advisories 1

References