CVE-2022-31313 json
Backdoor in api-res-py
published 2022-06-08 4 y ago modified 2026-07-01 4 mo ago also GHSA-6978-4w92-428p , PYSEC-2022-43071 , EUVD-2022-0368
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
api-res-py package in PyPI 0.1 is vulnerable to a code execution backdoor in the request package.
Exploit prediction
1.94% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | api-res-py | <=0.1 |
no fix listed |
References
-
pypi.doubanio.com
/simple/request
web, third-party-advisory
-
pypi.org
/project/api-res-py/
third-party-advisory, package
-
github.com
/rakeshrkz7/as_api_res/issues/1
web, broken-link, report
-
nvd.nist.gov
/vuln/detail/CVE-2022-31313
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/api-res-py/PYSEC-2022-43071.yaml
web
-
github.com
/rakeshrkz7/as_api_res
package
-
pypi.org
/project/api-res-py
web
-
github.com
/advisories/GHSA-6978-4w92-428p
advisory
Sources
- CVE List CVE-2022-31313
- GitHub Advisory GHSA-6978-4w92-428p
- NVD CVE-2022-31313
- OSV PYSEC-2022-43071
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.