{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-36024","id":"CVE-2022-36024","title":"Bots using py-cord as discord api wrapper are vulnerable to shutdowns through remote code execution","description":"py-cord is a an API wrapper for Discord written in Python. Bots creating using py-cord version 2.0.0 are vulnerable to remote shutdown if they are added to the server with the `application.commands` scope without the `bot` scope. Currently, it appears that all public bots that use slash commands are affected. This issue has been patched in version 2.0.1. There are currently no recommended workarou","descriptionLong":"py-cord is a an API wrapper for Discord written in Python. Bots creating using py-cord version 2.0.0 are vulnerable to remote shutdown if they are added to the server with the `application.commands` scope without the `bot` scope. Currently, it appears that all public bots that use slash commands are affected. This issue has been patched in version 2.0.1. There are currently no recommended workarounds - please upgrade to a patched version.","published":"2022-08-18T14:45:17.000Z","updated":"2026-10-28T02:30:40.922636023Z","reserved":"2022-07-15T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"high","products":["Pycord-Development pycord"],"affectedProducts":[{"vendor":"Pycord-Development","product":"pycord","defaultStatus":null,"versions":[{"status":"affected","version":"= 2.0.0"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"py-cord","purl":"pkg:pypi/py-cord","ranges":[">=2.0.0 <2.0.1"],"fixed":["2.0.1"],"advisory":"GHSA-qmhj-m29v-gvmr"}],"cwes":["CWE-862","CWE-284"],"aliases":["GHSA-qmhj-m29v-gvmr","PYSEC-2022-43146"],"references":[{"url":"https://github.com/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/Pycord-Development/pycord/pull/1568","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36024.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36024","tags":["advisory"]},{"url":"https://github.com/Pycord-Development/pycord","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/py-cord/PYSEC-2022-43146.yaml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.0082,"epssPercentile":0.57986,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-36024","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36024","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-36024","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qmhj-m29v-gvmr","ok":true,"note":"GHSA-qmhj-m29v-gvmr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-36024","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}