Advisory

PYSEC-2025-18

Also known as: CVE-2025-1716, CVE-2025-1889, GHSA-655q-fx9r-782v, GHSA-769v-p64c-89pr, PYSEC-2025-19

Summary

The record has no summary.

Details

picklescan before 0.0.21 does not treat 'pip' as an unsafe global. An attacker could craft a malicious model that uses Pickle to pull in a malicious PyPI package (hosted, for example, on pypi.org or GitHub) via pip.main(). Because pip is not a restricted global, the model, when scanned with picklescan, would pass security checks and appear to be safe, when it could instead prove to be problematic.

Severity

Not rated by the source.

Dates

Published
2025-02-26 15:15 UTC
Modified
2025-04-09 17:59 UTC

Affected packages and fixes

picklescan

PyPI · All systems

Affected

  • introduced 0, fixed 0.0.21 (ecosystem)

Fixed versions

0.0.21

Fix

  • Fixed version 0.0.21
    pip install --upgrade picklescan==0.0.21

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