{"id":"GHSA-55j9-849x-26h4","summary":"Remote Code Execution in Red Discord Bot","details":"### Impact\nA 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.\n\n### Patches\nThis critical exploit has been fixed on version 3.3.11.\n\n### Workarounds\nUnloading 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.\n\n### References\nhttps://github.com/Cog-Creators/Red-DiscordBot/pull/4175\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Cog-Creators/Red-DiscordBot](https://github.com/Cog-Creators/Red-DiscordBot)\n* Over on our [Discord server](https://discord.gg/red)","aliases":["CVE-2020-15140","PYSEC-2020-265"],"modified":"2026-05-07T05:00:42.126028305Z","published":"2020-08-21T16:30:52Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-08-21T16:30:30Z","nvd_published_at":"2020-08-21T17:15:00Z","cwe_ids":["CWE-74"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-55j9-849x-26h4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15140"},{"type":"WEB","url":"https://github.com/Cog-Creators/Red-DiscordBot/pull/4175/commits/9ab536235bafc2b42c3c17d7ce26f1cc64482a81"},{"type":"PACKAGE","url":"https://github.com/Cog-Creators/Red-DiscordBot"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/red-discordbot/PYSEC-2020-265.yaml"}],"affected":[{"package":{"name":"red-discordbot","ecosystem":"PyPI","purl":"pkg:pypi/red-discordbot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.11"}]}],"versions":["3.0.0","3.0.0b16","3.0.0b17","3.0.0b18","3.0.0b19","3.0.0b20","3.0.0b21","3.0.0rc1","3.0.0rc1.post1","3.0.0rc2","3.0.0rc3","3.0.0rc3.post1","3.0.1","3.0.2","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9","3.2.0","3.2.1","3.2.2","3.2.3","3.3.0","3.3.1","3.3.10","3.3.2","3.3.3","3.3.4","3.3.5","3.3.6","3.3.7","3.3.8","3.3.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/08/GHSA-55j9-849x-26h4/GHSA-55j9-849x-26h4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N"}]}