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

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). 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
    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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.