# CVE-2020-15140: Remote Code Execution in Red Discord Bot

Source: https://junglewise.ai/threats/cve-2020-15140-remote-code-execution-in-red-discord-bot  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2020-08-21  
License: CC BY 4.0 with a link back

CVE-2020-15140 · Severity: low · CVSS 3.1 · Published 2020-08-21

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 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. This critical exploit has been fixed on version 3.3.11.

Technologies: [red-discordbot (PyPI)](https://junglewise.ai/threats/technologies/red-discordbot). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2020-15140 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-15140 being exploited in the wild.

**How severe is CVE-2020-15140?** Low severity, with a CVSS score of 3.1, published 21 August 2020.

**Which products and versions are affected?** red-discordbot (PyPI) ECOSYSTEM:introduced=0,fixed=3.3.11, GIT:introduced=0,fixed=9ab536235bafc2b42c3c17d7ce26f1cc64482a81|ECOSYSTEM:introduced=0,fixed=3.3.11.

**Is there a fix for CVE-2020-15140?** Yes. red-discordbot (PyPI): upgrade to 3.3.11 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-15140?** Check whether you run red-discordbot (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- red-discordbot (PyPI): upgrade to 3.3.11 or later

  ```sh
  pip install "red-discordbot>=3.3.11"
  ```


## Affected products

- red-discordbot (PyPI) ECOSYSTEM:introduced=0,fixed=3.3.11, GIT:introduced=0,fixed=9ab536235bafc2b42c3c17d7ce26f1cc64482a81|ECOSYSTEM:introduced=0,fixed=3.3.11

## Identifiers

- CVE-2020-15140
- GHSA-55j9-849x-26h4
- PYSEC-2020-265

## Related threats

- [PYSEC-2026-1865 - Red-DiscordBot vulnerable to Incorrect Authorization in commands API](https://junglewise.ai/threats/cve-2024-39905-red-discordbot-vulnerable-to-incorrect-authorization-in-commands)
- [Duplicate Advisory: Unauthorized privilege escalation in Mod module](https://junglewise.ai/threats/duplicate-advisory-unauthorized-privilege-escalation-in-mod-module-75e685bc)
- [Unauthorized privilege escalation in Mod module](https://junglewise.ai/threats/cve-2020-15278-unauthorized-privilege-escalation-in-mod-module)
- [Remote Code Execution in Red Discord Bot](https://junglewise.ai/threats/cve-2020-15147-remote-code-execution-in-red-discord-bot)
