GHSA-67r3-h899-9w95
CRITICALEmbedded Malicious Code in ctx
The ctx hosted project on PyPI was taken over via user account compromise and replaced with a malicious project which contained runtime code which collected the content of os.environ.items() when instantiating Ctx objects.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | ctx | >= 0.1.2-1 |
References
- https://github.com/pypa/advisory-database/tree/main/vulns/ctx/PYSEC-2022-199.yaml · WEB
- https://python-security.readthedocs.io/pypi-vuln/index-2022-05-24-ctx-domain-takeover.html · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Jun 2022)