SecurityContext

CVE-2022-31313: api-res-py - Remote Code Execution

  • Cve: CVE-2022-31313
  • Name: api-res-py - Remote Code Execution
  • Description: api-res-py package in PyPI 0.1 is vulnerable to a code execution backdoor in the request package.
  • Impact: Attackers can execute arbitrary code on the system, leading to full system compromise.
  • Remediation: Update to the latest version of api-res-py after verifying the request package is secure, or replace with a trusted alternative.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01942
  • Epss percentile: 0.80698
  • Assignee: [email protected]
  • Published at: 2022-06-08T20:15:08Z
  • Age in days: 1630
  • Modified at: 2026-06-17T04:45:18Z
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-31313
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
NVD-CWE-noinfo—

References

UrlSourceTags
http://pypi.doubanio.com/simple/requestnvdThird Party Advisory
https://pypi.org/project/api-res-py/nvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
api-res-py_project:api-res-py= 0.1nonvd/v1/products/api-res-py_project/api-res-py

Projects

RepositoryLink kindsIndexedUrl
rakeshrkz7/as_api_resissues, packageyes/v1/repositories/rakeshrkz7/as_api_res

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts