CVE-2022-31313 Backdoor in api-res-py
A backdoor in the request package allows attackers to execute arbitrary code via the api-res-py library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-31313?
CVE-2022-31313 is a critical code injection vulnerability in n/a, published on 8 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
api-res-py package in PyPI 0.1 is vulnerable to a code execution backdoor in the request package.
Which versions are affected by CVE-2022-31313?
3 open source packages ship an affected version, including api-res-py. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
api-res-py PyPI | All versions to 0.1 | None |
api-res-py PyPI | All versions to 0.1 | None |
api-res-py PyPI | All versions to 0.1 | None |
Products include Api-Res-Py Project Api-Res-Py.
How do I fix CVE-2022-31313?
No fix has been published for CVE-2022-31313 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2022-31313 being exploited?
There is no known exploitation of CVE-2022-31313 in the wild and no public exploit code.
Sources
Also known as GHSA-6978-4w92-428p, PYSEC-2022-43071.