{"id":"GHSA-qmhj-m29v-gvmr","summary":"Bots using py-cord as Discord API wrapper are vulnerable to shutdowns through remote code execution","details":"### Impact\npy-cord is a an API wrapper for Discord written in Python. Bots 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.\n\n### Patches\nThis issue has been patched in version 2.0.1.\n\n### Workarounds\nThere are currently no recommended workarounds - please upgrade to a patched version.\n\n### References\nhttps://github.com/Pycord-Development/pycord/pull/1568\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [our GitHub](https://github.com/Pycord-Development/pycord)\n* Email us at [support@pycord.dev](mailto:support@pycord.dev)","aliases":["CVE-2022-36024","PYSEC-2022-43146"],"modified":"2024-11-26T18:46:54Z","published":"2022-08-18T14:18:37Z","database_specific":{"nvd_published_at":"2022-08-18T15:15:00Z","cwe_ids":["CWE-284"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-08-18T14:18:37Z"},"references":[{"type":"WEB","url":"https://github.com/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36024"},{"type":"WEB","url":"https://github.com/Pycord-Development/pycord/pull/1568"},{"type":"PACKAGE","url":"https://github.com/Pycord-Development/pycord"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/py-cord/PYSEC-2022-43146.yaml"}],"affected":[{"package":{"name":"py-cord","ecosystem":"PyPI","purl":"pkg:pypi/py-cord"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.1"}]}],"versions":["2.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-qmhj-m29v-gvmr/GHSA-qmhj-m29v-gvmr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"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"}]}