GHSA-4vr7-g93g-cf6m: Duplicate Advisory Picklescan: ZIP Archive Scan Bypass Vulnerability

CRITICAL
CWE-755
Published
Advisory Summary

GHSA-4vr7-g93g-cf6m is a CRITICAL picklescan: zip archive scan bypass vulnerability (CWE-755: Improper Handling of Exceptional Conditions) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves picklescan: zip archive scan bypass is possible through non-exhaustive cyclic redundancy check. Remediation is available by upgrading affected packages to version 0.0.31.

GHSA-4vr7-g93g-cf6m at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-4vr7-g93g-cf6m
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-755: Improper Handling of Exceptional Conditions
Affected Product Duplicate Advisory
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix GHSA-4vr7-g93g-cf6m

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: 0.0.31
pip install picklescan>=0.0.31
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-4vr7-g93g-cf6m, 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 0.0.31), 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-755: Improper Handling of Exceptional Conditions, where the product does not handle or incorrectly handles an exceptional condition. 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-m4j5-5x4r-2xp9. This link is maintained to preserve external references. ### Original Description An Improper Handling of Exceptional Conditions vulnerability in the ZIP archive scanning component of mmaitre314 picklescan allows a remote attacker to bypass security scans. This is achieved by crafting a ZIP archive containing a file with a bad Cyclic Redundancy Check (CRC), which causes the scanner to halt and fail to analyze the contents for malicious pickle files. When the file incorrectly considered safe is loaded, it can lead to the execution of malicious code.

GHSA-4vr7-g93g-cf6m Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
0.0.31
Product / Package Ecosystem Affected Versions Fixed Version
picklescan
PyPI
< 0.0.31
0.0.31

References

Frequently Asked Questions

What is GHSA-4vr7-g93g-cf6m?
GHSA-4vr7-g93g-cf6m is a security vulnerability in Duplicate Advisory involving Picklescan: ZIP archive scan bypass is possible through non-exhaustive Cyclic Redundancy Check under CWE-755: Improper Handling of Exceptional Conditions.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 0.0.31 across affected packages: picklescan.
What version fixes GHSA-4vr7-g93g-cf6m?
Upgrading to 0.0.31 (or the latest patched release for your respective branch) resolves the vulnerability.
Is picklescan affected?
Yes, picklescan is affected in releases prior to 0.0.31. Upgrade your dependency to 0.0.31 or later.
What CWE is associated with GHSA-4vr7-g93g-cf6m?
GHSA-4vr7-g93g-cf6m is classified under CWE-755: Improper Handling of Exceptional Conditions (The product does not handle or incorrectly handles an exceptional condition.).
How can I check PyPI dependencies for GHSA-4vr7-g93g-cf6m?
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-4vr7-g93g-cf6m",
  "modified" : "2025-09-17T20:24:21Z",
  "published" : "2025-09-17T12:30:57Z",
  "withdrawn" : "2025-09-17T20:24:21Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Picklescan: ZIP archive scan bypass is possible through non-exhaustive Cyclic Redundancy Check",
  "details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-m4j5-5x4r-2xp9. This link is maintained to preserve external references.\n\n### Original Description\nAn Improper Handling of Exceptional Conditions vulnerability in the ZIP archive scanning component of mmaitre314 picklescan allows a remote attacker to bypass security scans. This is achieved by crafting a ZIP archive containing a file with a bad Cyclic Redundancy Check (CRC), which causes the scanner to halt and fail to analyze the contents for malicious pickle files. When the file incorrectly considered safe is loaded, it can lead to the execution of malicious code.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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"
      }, {
        "fixed" : "0.0.31"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/mmaitre314/picklescan/security/advisories/GHSA-mjqp-26hc-grxg"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-10156"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mmaitre314/picklescan/blob/v0.0.29/src/picklescan/relaxed_zipfile.py#L35"
  }, {
    "type" : "WEB",
    "url" : "https://huggingface.co/jinaai/jina-embeddings-v2-base-en/resolve/main/pytorch_model.bin?download=true"
  }, {
    "type" : "WEB",
    "url" : "https://huggingface.co/jinaai/jina-embeddings-v2-base-en/tree/main"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-755" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-09-17T20:24:21Z",
    "nvd_published_at" : "2025-09-17T11:15:32Z"
  }
}