CVE-2022-31313
CRITICAL 9.8CVSS 3.1Backdoor in api-res-py
api-res-py package in PyPI 0.1 is vulnerable to a code execution backdoor in the request package.
- Published
- 8 Jun 2022
- Last modified
- 1 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Also known as
- GHSA-6978-4w92-428pPYSEC-2022-43071
- Sources
- NVDJSONOSV GHSA-6978-4w92-428pJSONOSV PYSEC-2022-43071JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | api-res-py_project | api-res-pycpe:2.3:a:api-res-py_project:api-res-py:0.1:*:*:*:*:*:*:* |
= 0.1 | |
| OSV | PyPI | api-res-py | <= 0.1 |
References
- http://pypi.doubanio.com/simple/request · Third Party Advisory, WEB
- https://github.com/rakeshrkz7/as_api_res/issues/1 · Broken Link, WEB, REPORT
- https://pypi.org/project/api-res-py/ · Third Party Advisory, WEB, PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2022-31313 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/api-res-py/PYSEC-2022-43071.yaml · WEB
- https://github.com/rakeshrkz7/as_api_res · PACKAGE
- https://github.com/advisories/GHSA-6978-4w92-428p · ADVISORY
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 8 Jun 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Jun 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Jun 2022)