Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. picklescan
  4. ›
  5. GHSA-vr75-hjh9-7fr6

GHSA-vr75-hjh9-7fr6: Duplicate Advisory: Remote Code Execution via Malicious Pickle File Bypassing Static Analysis

March 3, 2025

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.

References

  • github.com/advisories/GHSA-vr75-hjh9-7fr6
  • github.com/mmaitre314/picklescan/commit/78ce704227c51f070c0c5fb4b466d92c62a7aa3d
  • github.com/mmaitre314/picklescan/security/advisories/GHSA-655q-fx9r-782v
  • nvd.nist.gov/vuln/detail/CVE-2025-1716
  • sites.google.com/sonatype.com/vulnerabilities/cve-2025-1716

Code Behaviors & Features

Detect and mitigate GHSA-vr75-hjh9-7fr6 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.0.21

Solution

Unfortunately, there is no solution available yet.

Weakness

  • CWE-184: Incomplete List of Disallowed Inputs

Source file

pypi/picklescan/GHSA-vr75-hjh9-7fr6.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:01 +0000.