{"id":"GHSA-67r3-h899-9w95","aliases":["GHSA-67r3-h899-9w95"],"related":[],"kind":"vulnerability","state":"published","title":"Embedded Malicious Code in ctx","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2022-06-02T15:46:06.000Z","modified":"2022-06-02T15:46:06.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0.1.2-1","status":"affected"}],"ecosystem":"PyPI","package":"ctx","purl":"pkg:pypi/ctx","source":"ghsa"}],"references":[{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ctx/PYSEC-2022-199.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://python-security.readthedocs.io/pypi-vuln/index-2022-05-24-ctx-domain-takeover.html","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-67r3-h899-9w95","url":"https://github.com/advisories/GHSA-67r3-h899-9w95","licence":"CC-BY-4.0","modified":"2022-06-02T15:46:06.000Z"}],"updatedAt":"2026-11-25T22:56:34.234Z"}