{"id":"CVE-2022-31313","aliases":["EUVD-2022-0368","GHSA-6978-4w92-428p","PYSEC-2022-43071"],"status":"published","title":"Backdoor in api-res-py","description":"api-res-py package in PyPI 0.1 is vulnerable to a code execution backdoor in the request package.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01942,"percentile":0.80286,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2022-06-08T19:13:13Z","modified":"2026-07-01T20:22:49Z","affected":[{"source":"ghsa","ecosystem":"PyPI","package":"api-res-py","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"api-res-py","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1"}]}],"versions":["0.1"]},{"source":"osv","ecosystem":"PyPI","package":"api-res-py","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1"}]}],"versions":["0.1"]}],"products":[{"vendor":"api-res-py_project","product":"api-res-py"}],"references":[{"url":"http://pypi.doubanio.com/simple/request","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://pypi.org/project/api-res-py/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","package"]},{"url":"https://github.com/rakeshrkz7/as_api_res/issues/1","tags":["x_refsource_MISC","x_transferred","Broken Link","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31313","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/api-res-py/PYSEC-2022-43071.yaml","tags":["web"]},{"url":"https://pypi.org/project/api-res-py","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6978-4w92-428p","tags":["advisory"]},{"url":"https://github.com/rakeshrkz7/as_api_res","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-31313","description":"api-res-py package in PyPI 0.1 is vulnerable to a code execution backdoor in the request package.","status":"published","published":"2022-06-08T19:13:13Z","modified":"2024-08-03T07:19:05.545Z","updated_at":"2026-11-02T14:34:35.279735Z"}],"euvd":[{"id":"EUVD-2022-0368","description":"api-res-py package in PyPI 0.1 is vulnerable to a code execution backdoor in the request package.","status":"published","published":"2022-06-08T19:13:13Z","modified":"2024-08-03T07:19:05Z","updated_at":"2026-11-03T03:25:34.735493Z"}],"ghsa":[{"id":"GHSA-6978-4w92-428p","title":"Backdoor in api-res-py","description":"api-res-py package in PyPI 0.1 is vulnerable to a code execution backdoor in the request package.","status":"published","published":"2022-06-09T00:00:16Z","modified":"2024-11-21T21:40:08Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T14:38:21.777721Z"}],"nvd":[{"id":"CVE-2022-31313","description":"api-res-py package in PyPI 0.1 is vulnerable to a code execution backdoor in the request package.","status":"published","published":"2022-06-08T20:15:08.087Z","modified":"2026-06-17T04:45:18.32Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:07:21.62951Z"}],"osv":[{"id":"GHSA-6978-4w92-428p","title":"Backdoor in api-res-py","description":"api-res-py package in PyPI 0.1 is vulnerable to a code execution backdoor in the request package.","status":"published","published":"2022-06-09T00:00:16Z","modified":"2024-12-02T05:39:28.628766Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:46:39.618611Z"},{"id":"PYSEC-2022-43071","description":"api-res-py package in PyPI 0.1 is vulnerable to a code execution backdoor in the request package.","status":"published","published":"2022-06-08T20:15:00Z","modified":"2026-07-01T20:22:49.403418Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:53.449407Z"}]}}
