PYSEC-2022-199 backdoor in ctx version 0.1.2-1, 0.1.2-2, 0.1.4, 0.2, 0.2.1, 0.2.2, 0.2.2.1, 0.2.3, 0.2.4, 0.2.5, 0.2.6

Not scored Published

A backdoor in the ctx Python package allows attackers to steal credentials from environment variables via malicious updates.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is PYSEC-2022-199?

PYSEC-2022-199 is a vulnerability in ctx, published on 24 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In PyPI ctx version 0.1.2-1, 0.1.2-2, 0.1.4, 0.2, 0.2.1, 0.2.2, 0.2.2.1, 0.2.3, 0.2.4, 0.2.5, 0.2.6 a backdoor exists in the ctx package that can be attacked via a malicious package update resulting in credential theft from environment variables

Which versions are affected by PYSEC-2022-199?

1 open source package ship an affected version, including ctx.

PackageAffectedFixed in
ctx PyPIFrom 0.1.2-1None

How do I fix PYSEC-2022-199?

No fix has been published for PYSEC-2022-199 yet. Limit exposure of the affected software until one is available.

Is PYSEC-2022-199 being exploited?

There is no known exploitation of PYSEC-2022-199 in the wild and no public exploit code.

Sources

Also known as GSD-2022-1002521.

Is PYSEC-2022-199 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free