Vulnerabilities in pkg:pypi/funcdesc
PACKAGEGHSA-2cv2-jjxv-85fg is a HIGH malicious code vulnerability (CWE-506: Embedded Malicious Code) affecting Funcdesc libraries in the PyPI ecosystem. The issue involves malicious code in funcdesc (pypi). Remediation is available in the latest vendor maintenance releases.
pkg:pypi/funcdesc
Vulnerability advisories affecting package pkg:pypi/funcdesc. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2cv2-jjxv-85fg | - | HIGH | Malicious code in funcdesc (PyPI) |
GHSA-2cv2-jjxv-85fg at a Glance
How to Fix GHSA-2cv2-jjxv-85fg
To remediate this vulnerability, upgrade all affected Funcdesc 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 funcdesc>=Latest secure release
pip install funcdesc>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show funcdesc
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-2cv2-jjxv-85fg, inspect your installed packages using pip:
pip show funcdesc
Analyze the terminal output to locate any version of Funcdesc 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 funcdesc command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-506: Embedded Malicious Code, where the product contains code that appears to be malicious in nature. In Funcdesc, 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
GHSA-2cv2-jjxv-85fg Affected Funcdesc Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
funcdesc
|
PyPI |
0.2.2
All 1 versions
0.2.2
|
None specified
|
|
funcdesc
|
PyPI |
0.2.3
All 1 versions
0.2.3
|
None specified
|
References
Frequently Asked Questions
What is GHSA-2cv2-jjxv-85fg?
Which Funcdesc versions are affected?
What version fixes GHSA-2cv2-jjxv-85fg?
Is funcdesc affected?
What CWE is associated with GHSA-2cv2-jjxv-85fg?
How can I check PyPI dependencies for GHSA-2cv2-jjxv-85fg?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2cv2-jjxv-85fg",
"modified" : "2026-12-01T23:10:06Z",
"published" : "2026-12-01T23:10:06Z",
"aliases" : [ ],
"summary" : "Malicious code in funcdesc (PyPI)",
"details" : "Part of the \"Hades\" wave of the Shai-Hulud supply-chain campaign. On 2026-06-08, malicious phantom releases of funcdesc were published to PyPI using stolen credentials. The package executes a bundled JavaScript payload (via the Bun runtime) on import that harvests and exfiltrates credentials and attempts self-propagation. This entry is a summary; behavior may not be fully characterized here. See the linked references for detailed analysis and indicators of compromise.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "funcdesc"
},
"versions" : [ "0.2.2" ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "funcdesc"
},
"versions" : [ "0.2.3" ]
} ],
"references" : [ {
"type" : "PACKAGE",
"url" : "https://github.com/Nanguage/funcdesc"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/funcdesc/PYSEC-2026-591.yaml"
}, {
"type" : "WEB",
"url" : "https://inspector.pypi.io/project/funcdesc/0.2.3/packages/ee/07/a3a5d522d90245b00ba11d6f40608c46ce63b4dad69e51f1a197323c4053/funcdesc-0.2.3-py3-none-any.whl//funcdesc-setup.pth"
}, {
"type" : "WEB",
"url" : "https://www.endorlabs.com/learn/shai-hulud-hades-wave-hits-six-pypi-bioinformatics-packages"
}, {
"type" : "WEB",
"url" : "https://www.stepsecurity.io/blog/the-hades-campaign-pypi-packages"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-506", "CWE-509" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-01T23:10:06Z",
"nvd_published_at" : null
}
}