red-discordbot
Affected
- introduced
0, fixed3.3.11(ecosystem)
Fixed versions
3.3.11
Fix
- Fixed version
3.3.11pip install --upgrade red-discordbot==3.3.11
Advisory
Also known as: CVE-2020-15140, PYSEC-2020-265
Remote Code Execution in Red Discord Bot
Impact
A RCE exploit has been discovered in the Trivia module: this exploit allows Discord users with specifically crafted usernames to inject code into the Trivia module's leaderboard command. By abusing this exploit, it's possible to perform destructive actions and/or access sensitive information.
Patches
This critical exploit has been fixed on version 3.3.11.
Workarounds
Unloading the Trivia module with unload trivia can render this exploit not accessible. We still highly recommend updating to 3.3.11 to completely patch this issue.
References
https://github.com/Cog-Creators/Red-DiscordBot/pull/4175
For more information
If you have any questions or comments about this advisory:
Medium Basis: The source's own band: MODERATE
0, fixed 3.3.11 (ecosystem)3.3.11
3.3.11pip install --upgrade red-discordbot==3.3.11Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0