Vulnerabilities in pkg:pypi/spam
PACKAGEGHSA-2r6g-7r83-jg72 is a HIGH `spam` project on pypi compromised, vulnerability (General Security Weakness) affecting Spam libraries in the PyPI ecosystem. The issue involves `spam` project on pypi compromised, malicious releases made. Remediation is available in the latest vendor maintenance releases.
pkg:pypi/spam
Vulnerability advisories affecting package pkg:pypi/spam. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2r6g-7r83-jg72 | - | HIGH | `spam` project on PyPI compromised, malicious releases made |
GHSA-2r6g-7r83-jg72 at a Glance
How to Fix GHSA-2r6g-7r83-jg72
To remediate this vulnerability, upgrade all affected Spam 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 spam>=Latest secure release
pip install spam>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show spam
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-2r6g-7r83-jg72, inspect your installed packages using pip:
pip show spam
Analyze the terminal output to locate any version of Spam 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 spam command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Spam, 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-2r6g-7r83-jg72 Affected Spam Versions
2 component(s)References
Frequently Asked Questions
What is GHSA-2r6g-7r83-jg72?
Which Spam versions are affected?
What version fixes GHSA-2r6g-7r83-jg72?
Is spam affected?
What CWE is associated with GHSA-2r6g-7r83-jg72?
How can I check PyPI dependencies for GHSA-2r6g-7r83-jg72?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2r6g-7r83-jg72",
"modified" : "2024-08-30T23:37:36Z",
"published" : "2024-08-30T23:37:36Z",
"aliases" : [ ],
"summary" : "`spam` project on PyPI compromised, malicious releases made",
"details" : "The `spam` project on PyPI was taken over via user account compromise via a phishing attack and a new malicious release made which contained code which some environment variables and downloaded and ran malware at install time",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "spam"
},
"versions" : [ "2.0.2" ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "spam"
},
"versions" : [ "4.0.2" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/spam/PYSEC-2022-251.yaml"
}, {
"type" : "WEB",
"url" : "https://twitter.com/pypi/status/1562442207079976966"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-08-30T23:37:36Z",
"nvd_published_at" : null
}
}