{"id":"CVE-2022-36024","state":"PUBLISHED","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 workarounds - please upgrade to a patched version.","publishedAt":"2022-08-18T14:45:17.000Z","updatedAt":"2025-04-23T17:49:06.683Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["Pycord-Development pycord"],"affected":[{"vendor":"Pycord-Development","product":"pycord","versions":[{"version":"= 2.0.0","status":"affected"}]}],"references":["https://github.com/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr","https://github.com/Pycord-Development/pycord/pull/1568"],"weaknesses":["CWE-862","CWE-284"],"ingestedAt":"2026-10-29T19:50:21.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/36xxx/CVE-2022-36024.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-36024","state":"PUBLISHED","datePublished":"2022-08-18T14:45:17.000Z","dateUpdated":"2025-04-23T17:49:06.683Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-07-15T00:00:00.000Z"},"containers":{"cna":{"title":"Bots using py-cord as discord api wrapper are vulnerable to shutdowns through remote code execution","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Pycord-Development","product":"pycord","versions":[{"version":"= 2.0.0","status":"affected"}]}],"references":[{"url":"https://github.com/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Pycord-Development/pycord/pull/1568","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","description":"CWE-862: Missing Authorization","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-284","description":"CWE-284: Improper Access Control","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2022-08-19T19:45:13.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-qmhj-m29v-gvmr","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-36024","STATE":"PUBLIC","TITLE":"Bots using py-cord as discord api wrapper are vulnerable to shutdowns through remote code execution"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"pycord","version":{"version_data":[{"version_value":"= 2.0.0"}]}}]},"vendor_name":"Pycord-Development"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-862: Missing Authorization"}]},{"description":[{"lang":"eng","value":"CWE-284: Improper Access Control"}]}]},"references":{"reference_data":[{"name":"https://github.com/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr","refsource":"CONFIRM","url":"https://github.com/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr"},{"name":"https://github.com/Pycord-Development/pycord/pull/1568","refsource":"MISC","url":"https://github.com/Pycord-Development/pycord/pull/1568"}]},"source":{"advisory":"GHSA-qmhj-m29v-gvmr","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/Pycord-Development/pycord/pull/1568","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T09:51:59.928Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-23T15:52:15.958967Z","id":"CVE-2022-36024","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-23T17:49:06.683Z"}}]}}}