CVE-2022-36024: Bots using py-cord as Discord API wrapper are vulnerable to shutdowns through remote code execution
(updated )
py-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.
References
- github.com/Pycord-Development/pycord
- github.com/Pycord-Development/pycord/pull/1568
- github.com/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr
- github.com/advisories/GHSA-qmhj-m29v-gvmr
- github.com/pypa/advisory-database/tree/main/vulns/py-cord/PYSEC-2022-43146.yaml
- nvd.nist.gov/vuln/detail/CVE-2022-36024
Detect and mitigate CVE-2022-36024 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →