# GHSA-2r6g-7r83-jg72: `spam` project on PyPI compromised, malicious releases made

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-08-30T23:37:36.000Z
- Modified: 2024-08-30T23:37:36.000Z

## Description

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

(As written by GitHub Advisory Database.)

## Affected

- spam (PyPI): 2.0.2; 4.0.2

## References

- <https://github.com/pypa/advisory-database/tree/main/vulns/spam/PYSEC-2022-251.yaml> (web)
- <https://twitter.com/pypi/status/1562442207079976966> (web)

## Sources

- GitHub Advisory Database: [GHSA-2r6g-7r83-jg72](https://github.com/advisories/GHSA-2r6g-7r83-jg72), CC-BY-4.0, modified 2024-08-30

---

Page: https://cve.day/GHSA-2r6g-7r83-jg72 · Whole record: https://cve.day/GHSA-2r6g-7r83-jg72.json · Rebuilt by cve.day 2026-11-25T22:56:33.601Z
