{"id":"CVE-2020-15140","aliases":["CVE-2020-15140","GHSA-55j9-849x-26h4","PYSEC-2020-265"],"related":[],"kind":"vulnerability","state":"published","title":"Remote Code Execution in Red Discord Bot","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"En Red Discord Bot versiones anteriores a versión 3.3.11, se detectó una explotación de RCE en el módulo Trivia: esta explotación permite a usuarios de Discord con nombres de usuario específicamente diseñados inyectar código en el comando de la tabla de clasificación del módulo Trivia. Al abusar de esta explotación, es posible llevar a cabo acciones destructivas y / o acceder a información confidencial. Esta explotación crítica se ha corregido en la versión 3.3.11.","source":"nvd"}],"published":"2020-08-21T16:30:52.000Z","modified":"2026-07-08T05:59:44.577Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N","score":8.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":9.6,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-74"],"affected":[{"ranges":[{"version":"< 3.3.11","status":"affected"}],"vendor":"Cog-Creators","product":"Red-DiscordBot","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.3.11"}],"ecosystem":"PyPI","package":"red-discordbot","purl":"pkg:pypi/red-discordbot","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.3.11"}],"vendor":"cogboard","product":"red_discord_bot","cpe":"cpe:2.3:a:cogboard:red_discord_bot:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"9ab536235bafc2b42c3c17d7ce26f1cc64482a81"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.3.11"}],"ecosystem":"PyPI","package":"red-discordbot","purl":"pkg:pypi/red-discordbot","repo":"https://github.com/Cog-Creators/Red-DiscordBot","source":"pysec"}],"references":[{"url":"https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-55j9-849x-26h4","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/Cog-Creators/Red-DiscordBot/pull/4175/commits/9ab536235bafc2b42c3c17d7ce26f1cc64482a81","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15140","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Cog-Creators/Red-DiscordBot","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/red-discordbot/PYSEC-2020-265.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-15140","url":"https://www.cve.org/CVERecord?id=CVE-2020-15140","licence":"CVE Terms of Use","modified":"2024-08-04T13:08:22.257Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-55j9-849x-26h4","url":"https://github.com/advisories/GHSA-55j9-849x-26h4","licence":"CC-BY-4.0","modified":"2026-07-08T05:59:44.577Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-15140","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15140","licence":"Public domain","modified":"2026-06-17T02:56:07.833Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-265","url":"https://osv.dev/vulnerability/PYSEC-2020-265","licence":"CC-BY-4.0","modified":"2026-02-22T22:49:33.778Z"}],"updatedAt":"2026-11-25T22:57:54.324Z","epss":{"score":0.01156,"percentile":0.66892,"date":"2026-11-30T12:00:22.000Z"}}