# PYSEC-2022-199: The ctx hosted project on PyPI was taken over via user account compromise and replaced with a malicious project which contained runtime cod…

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-05-24T17:55:00.000Z
- Modified: 2023-11-08T04:24:37.303Z
- Also known as: GSD-2022-1002521

## Description

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.

(As written by PyPA Advisory Database.)

## Affected

- ctx (PyPI): from 0.1.2-1

## References

- <https://python-security.readthedocs.io/pypi-vuln/index-2022-05-24-ctx-domain-takeover.html> (article)

## Sources

- PyPA Advisory Database: [PYSEC-2022-199](https://osv.dev/vulnerability/PYSEC-2022-199), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/PYSEC-2022-199 · Whole record: https://cve.day/PYSEC-2022-199.json · Rebuilt by cve.day 2026-11-25T22:56:37.737Z
