Headline
CVE-2022-36024: Unwanted Remote Shutdown Vulnerability
A fork of discord.py py-cord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. This issue allows users to be able to remotely shutdown the a bot running on py-cord, via adding it to a discord server with the application.commands
scope but not the bot
scope - then executing a command in that server. 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
This issue allows users to be able to remotely shutdown the a bot running on pycord, via adding it to a discord server with the application.commands scope but not the bot scope - then executing a command in that server.
Currently, it appears that all public bots that use slash commands are affected
Patches
This issue has been patched in version 2.0.1
Workarounds
There are currently no recommended workarounds - please upgrade to a patched version
References
#1568
For more information
If you have any questions or comments about this advisory:
- Open an issue in our GitHub
- Email us at [email protected]
Related news
### Impact 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. ### Patches This issue has been patched in version 2.0.1. ### Workarounds There are currently no recommended workarounds - please upgrade to a patched version. ### References https://github.com/Pycord-Development/pycord/pull/1568 ### For more information If you have any questions or comments about this advisory: * Open an issue in [our GitHub](https://github.com/Pycord-Development/pycord) * Email us at [[email protected]](mailto:[email protected])