CVE-2005-2875: Py2Play Py2Play Unpickles Untrusted Objects Vulnerability
HIGHCVE-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.
CVE-2005-2875 at a Glance
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.
pip install Py2Play>=Latest secure release
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
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?
Which Py2Play versions are affected?
What version fixes CVE-2005-2875?
Is Py2Play affected?
What CWE is associated with CVE-2005-2875?
How can I check PyPI dependencies for CVE-2005-2875?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}