NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐍
🐍 PyPI
Not in CISA KEV
CRITICAL severity

CVE-2022-31313 — api-res-py

CRITICAL

CVE-2022-31313 is a critical-severity (CVSS 9.8) remote code execution vulnerability in api-res-py. The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.

Backdoor in api-res-py

Also known asPYSEC-2022-43071
Published
Updated
Affected
1 pkg
Patched
See advisory
Exploits
None indexed
Exploitation data as of Nov 4, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
1.9%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs80th percentile — riskier than 80% of all scored CVEsHighest risk
0.15%0.91%1.68%2.44%0.7%1.9%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
🐍api-res-py

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

Description

api-res-py package in PyPI 0.1 is vulnerable to a code execution backdoor in the request package.

Affected Packages

1 total
EcosystemPackageVulnerable rangeFix
🐍PyPIapi-res-pyall versionsNo fix

Affected Products

1 product · 1 configurations
Application
api-res-pyapi-res-py_project
1 version
0.1

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for api-res-py, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Remediation status

    The records we use list no patched version of api-res-py for CVE-2022-31313. Check the maintainer's advisory, and where your build allows, override or pin the dependency away from the vulnerable range.

  3. Mitigate without a patch

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

api-res-py package in PyPI 0.1 is vulnerable to a code execution backdoor in the request package.
O3 Security · Impact-Aware SCA

Is CVE-2022-31313 in your dependencies?

Find it across PyPI, including transitive dependencies.

CVE-2022-31313: api-res-py (Critical 9.8)