GHSA-hw34-rqc5-h2gm: Duplicate Advisory Remote Code Execution Vulnerability

MODERATE
CWE-807 CWE-646
Published
Advisory Summary

GHSA-hw34-rqc5-h2gm is a MODERATE remote code execution vulnerability (CWE-807: Reliance on Untrusted Inputs in a Security Decision) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves picklescan allows remote code execution via malicious pickle file bypassing static analysis. Remediation is available in the latest vendor maintenance releases.

GHSA-hw34-rqc5-h2gm at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-hw34-rqc5-h2gm
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-807: Reliance on Untrusted Inputs in a Security Decision
Affected Product Duplicate Advisory
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix GHSA-hw34-rqc5-h2gm

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

picklescan fixed: Latest secure release
pip install picklescan>=Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show picklescan

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-hw34-rqc5-h2gm, inspect your installed packages using pip:

pip show picklescan

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The pip show picklescan command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-807: Reliance on Untrusted Inputs in a Security Decision, where the product uses a protection mechanism that relies on the existence or values of an input, but the input can be modified by an untrusted actor in a way that bypasses the protection mechanism. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-769v-p64c-89pr. This link is maintained to preserve external references. ## Original Description picklescan before 0.0.22 only considers standard pickle file extensions in the scope for its vulnerability scan. An attacker could craft a malicious model that uses Pickle include a malicious pickle file with a non-standard file extension. Because the malicious pickle file inclusion is not considered as part of the scope of picklescan, the file would pass security checks and appear to be safe, when it could instead prove to be problematic.

GHSA-hw34-rqc5-h2gm Affected Duplicate Advisory Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
picklescan
PyPI
≤ 0.0.21

References

Frequently Asked Questions

What is GHSA-hw34-rqc5-h2gm?
GHSA-hw34-rqc5-h2gm is a security vulnerability in Duplicate Advisory involving Picklescan Allows Remote Code Execution via Malicious Pickle File Bypassing Static Analysis under CWE-807: Reliance on Untrusted Inputs in a Security Decision.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: picklescan.
What version fixes GHSA-hw34-rqc5-h2gm?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is picklescan affected?
Yes, picklescan is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-hw34-rqc5-h2gm?
GHSA-hw34-rqc5-h2gm is classified under CWE-807: Reliance on Untrusted Inputs in a Security Decision (The product uses a protection mechanism that relies on the existence or values of an input, but the input can be modified by an untrusted actor in a way that bypasses the protection mechanism.).
How can I check PyPI dependencies for GHSA-hw34-rqc5-h2gm?
Run the dependency tree command: 'pip show picklescan'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hw34-rqc5-h2gm",
  "modified" : "2025-03-03T22:23:29Z",
  "published" : "2025-03-03T21:30:59Z",
  "withdrawn" : "2025-03-03T22:23:29Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Picklescan Allows Remote Code Execution via Malicious Pickle File Bypassing Static Analysis",
  "details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-769v-p64c-89pr. This link is maintained to preserve external references.\n\n## Original Description\npicklescan before 0.0.22 only considers standard pickle file extensions in the scope for its vulnerability scan. An attacker could craft a malicious model that uses Pickle include a malicious pickle file with a non-standard file extension. Because the malicious pickle file inclusion is not considered as part of the scope of picklescan, the file would pass security checks and appear to be safe, when it could instead prove to be problematic.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "picklescan"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.0.21"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/mmaitre314/picklescan/security/advisories/GHSA-655q-fx9r-782v"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-1889"
  }, {
    "type" : "WEB",
    "url" : "https://sites.google.com/sonatype.com/vulnerabilities/cve-2025-1889"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-646", "CWE-807" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-03-03T22:23:29Z",
    "nvd_published_at" : "2025-03-03T19:15:34Z"
  }
}