Advisory

PYSEC-2023-99

Also known as: CVE-2023-31543, GHSA-v4f4-23wc-99mh

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2023-06-30 20:15 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

pipreqs

PyPI · All systems

Affected

  • introduced 0.3.0, fixed 0.4.12 (ecosystem)

Fixed versions

0.4.12

Fix

  • Fixed version 0.4.12
    pip install --upgrade pipreqs==0.4.12

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences