GHSA-vr75-hjh9-7fr6

Suggest an improvement
Source
https://github.com/advisories/GHSA-vr75-hjh9-7fr6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-vr75-hjh9-7fr6/GHSA-vr75-hjh9-7fr6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vr75-hjh9-7fr6
Withdrawn
2025-03-03T20:05:26Z
Published
2025-03-03T18:31:25Z
Modified
2025-03-03T20:28:03Z
Severity
  • 5.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
Duplicate Advisory: Remote Code Execution via Malicious Pickle File Bypassing Static Analysis
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-655q-fx9r-782v. This link is maintained to preserve external references.

Original Description

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.

Database specific
{
    "cwe_ids":  [
        "CWE-184"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-03-03T20:05:26Z",
    "nvd_published_at":  "2025-02-26T15:15:24Z",
    "severity":  "MODERATE"
}
References

Affected packages

PyPI / picklescan

Package

Name
picklescan
View open source insights on deps.dev
Purl
pkg:pypi/picklescan

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
0.0.21

Affected versions

0.*
0.0.1
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
0.0.10
0.0.11
0.0.12
0.0.13
0.0.14
0.0.15
0.0.16
0.0.17
0.0.18
0.0.19
0.0.20
0.0.21

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-vr75-hjh9-7fr6/GHSA-vr75-hjh9-7fr6.json"