{"id":"CVE-2022-31313","aliases":["CVE-2022-31313","GHSA-6978-4w92-428p","PYSEC-2022-43071"],"related":[],"kind":"vulnerability","state":"published","title":"Backdoor in api-res-py","summary":"api-res-py package in PyPI 0.1 is vulnerable to a code execution backdoor in the request package.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"api-res-py package in PyPI 0.1 is vulnerable to a code execution backdoor in the request package.","source":"cvelist"},{"lang":"es","text":"El paquete api-res-py en PyPI versión 0.1 es vulnerable a una puerta trasera de ejecución de código en el paquete de petición","source":"nvd"}],"published":"2022-06-08T19:13:13.000Z","modified":"2026-07-01T20:22:49.403Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.1"}],"ecosystem":"PyPI","package":"api-res-py","purl":"pkg:pypi/api-res-py","source":"ghsa"},{"ranges":[{"status":"affected","version":"0.1"}],"vendor":"api-res-py_project","product":"api-res-py","cpe":"cpe:2.3:a:api-res-py_project:api-res-py:0.1:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.1"}],"ecosystem":"PyPI","package":"api-res-py","purl":"pkg:pypi/api-res-py","source":"pysec"}],"references":[{"url":"http://pypi.doubanio.com/simple/request","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://pypi.org/project/api-res-py/","tags":["package","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://github.com/rakeshrkz7/as_api_res/issues/1","tags":["broken-link","report","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31313","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/api-res-py/PYSEC-2022-43071.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/rakeshrkz7/as_api_res","tags":["package"],"sources":["ghsa"]},{"url":"https://pypi.org/project/api-res-py","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-6978-4w92-428p","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-31313","url":"https://www.cve.org/CVERecord?id=CVE-2022-31313","licence":"CVE Terms of Use","modified":"2024-08-03T07:19:05.545Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6978-4w92-428p","url":"https://github.com/advisories/GHSA-6978-4w92-428p","licence":"CC-BY-4.0","modified":"2024-12-02T05:39:28.628Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-31313","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31313","licence":"Public domain","modified":"2026-06-17T04:45:18.320Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-43071","url":"https://osv.dev/vulnerability/PYSEC-2022-43071","licence":"CC-BY-4.0","modified":"2026-07-01T20:22:49.403Z"}],"updatedAt":"2026-11-25T22:58:12.178Z","epss":{"score":0.0198,"percentile":0.81132,"date":"2026-12-01T12:00:22.000Z"}}