Vulnerability · Published Aug 21, 2020 · Assigned by GitHub_M
CVE-2020-15147Remote Code Execution in Red Discord Bot
High 8.5
In plain English
A high-severity code injection in Red-DiscordBot from Cog-Creators. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.6% (higher than 85% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Red Discord Bot before versions 3.3.12 and 3.4 has a Remote Code Execution vulnerability in the Streams module. This exploit allows Discord users with specifically crafted "going live" messages to inject code into the Streams module's going live message. By abusing this exploit, it's possible to perform destructive actions and/or access sensitive information. As a workaround, unloading the Trivia module with `unload streams` can render this exploit not accessible. It is highly recommended updating to 3.3.12 or 3.4 to completely patch this issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | red-discordbot | 3.3.12 | GHSA-7257-96vg-qf6x |
| PyPI | red-discordbot | 3.3.12 | PYSEC-2020-266 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Cog-Creators | Red-DiscordBot | < 3.3.12 |
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-7257-96vg-qf6x x_refsource_CONFIRM
- https://github.com/Cog-Creators/Red-DiscordBot/pull/4183 x_refsource_MISC
- https://github.com/Cog-Creators/Red-DiscordBot/pull/4183/commits/e269ea0d3bc88417163c18431b1df38a9be92bfc x_refsource_MISC