Vulnerabilities in pkg:pypi/Py2Play

PACKAGE
Advisory Identifier: GHSA-wcpc-f63g-x26q
Advisory Summary

CVE-2005-2875 is a HIGH py2play unpickles untrusted objects vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Py2Play libraries in the PyPI ecosystem. The issue involves py2play unpickles untrusted objects. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/Py2Play

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/Py2Play. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-wcpc-f63g-x26q CVE-2005-2875 HIGH Py2Play Unpickles Untrusted Objects

CVE-2005-2875 at a Glance

CVE Identifier CVE-2005-2875
GHSA Identifier GHSA-wcpc-f63g-x26q
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Py2Play
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2005-2875

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

Py2Play fixed: Latest secure release
pip install Py2Play>=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 Py2Play

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2005-2875, inspect your installed packages using pip:

pip show Py2Play

Analyze the terminal output to locate any version of Py2Play 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 Py2Play command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Py2Play, 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

Py2Play allows remote attackers to execute arbitrary Python code via pickled objects, which Py2Play unpickles and executes.

CVE-2005-2875 Affected Py2Play Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
Py2Play
PyPI
≤ 0.1.8

References

Frequently Asked Questions

What is CVE-2005-2875?
CVE-2005-2875 is a security vulnerability in Py2Play involving Py2Play Unpickles Untrusted Objects under CWE-502: Deserialization of Untrusted Data.
Which Py2Play versions are affected?
Affected versions include releases prior to current release patches across affected packages: Py2Play.
What version fixes CVE-2005-2875?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is Py2Play affected?
Yes, Py2Play is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2005-2875?
CVE-2005-2875 is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check PyPI dependencies for CVE-2005-2875?
Run the dependency tree command: 'pip show Py2Play'. 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-wcpc-f63g-x26q",
  "modified" : "2023-09-18T23:41:06Z",
  "published" : "2022-05-01T02:12:26Z",
  "aliases" : [ "CVE-2005-2875" ],
  "summary" : "Py2Play Unpickles Untrusted Objects",
  "details" : "Py2Play allows remote attackers to execute arbitrary Python code via pickled objects, which Py2Play unpickles and executes.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Py2Play"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.1.8"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2005-2875"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.gentoo.org/show_bug.cgi?id=103524"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20040824010038/http://home.gna.org/oomadness/fr/slune/index.html"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20050213041706/http://soya.literati.org"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20161225000907/http://www.securityfocus.com/bid/14864"
  }, {
    "type" : "WEB",
    "url" : "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326976"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2005/dsa-856"
  }, {
    "type" : "WEB",
    "url" : "http://www.gentoo.org/security/en/glsa/glsa-200509-09.xml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-09-18T23:41:06Z",
    "nvd_published_at" : "2005-09-13T23:03:00Z"
  }
}