GitHub Advisoryadvisory · PyPI
GHSA-55j9-849x-26h4 Remote Code Execution in Red Discord Bot
MEDIUM
Official page ↗
- Aliases
- CVE-2020-15140
- Ecosystem
- PyPI
- Packages
- Red-DiscordBot
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
- Weaknesses
- CWE-74
- Reviewed
- 2020-08-21
Affected packages
• PyPI Red-DiscordBot: < 3.3.11 → fixed in 3.3.11
Description
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:
• Open an issue in Cog-Creators/Red-DiscordBot
• Over on our Discord server
Related
Alias · CVE (1)
- CVE-2020-15140 In Red Discord Bot before version 3.3.11, a RCE exploit has been discovered in the Trivia module: this exploit allows Discord users with… vulnerability
Weakness · CWE (1)
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
References
- https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-55j9-849x-26h4 web
- https://nvd.nist.gov/vuln/detail/CVE-2020-15140 advisory
- https://github.com/Cog-Creators/Red-DiscordBot/pull/4175/commits/9ab536235bafc2b42c3c17d7ce26f1cc64482a81 web
- https://github.com/Cog-Creators/Red-DiscordBot package
- https://github.com/pypa/advisory-database/tree/main/vulns/red-discordbot/PYSEC-2020-265.yaml web