GHSA-55j9-849x-26h4

Suggest an improvement
Source
https://github.com/advisories/GHSA-55j9-849x-26h4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/08/GHSA-55j9-849x-26h4/GHSA-55j9-849x-26h4.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-55j9-849x-26h4
Aliases
Published
2020-08-21T16:30:52Z
Modified
2024-10-25T22:00:50.131556Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N CVSS Calculator
  • 5.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Remote Code Execution in Red Discord Bot
Details

Impact

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.

Patches

This critical exploit has been fixed on version 3.3.11.

Workarounds

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

References

https://github.com/Cog-Creators/Red-DiscordBot/pull/4175

For more information

If you have any questions or comments about this advisory: * Open an issue in Cog-Creators/Red-DiscordBot * Over on our Discord server

Database specific
{
    "nvd_published_at": "2020-08-21T17:15:00Z",
    "cwe_ids": [
        "CWE-74"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-21T16:30:30Z"
}
References

Affected packages

PyPI / red-discordbot

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.11

Affected versions

3.*

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.0
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.2
3.3.3
3.3.4
3.3.5
3.3.6
3.3.7
3.3.8
3.3.9
3.3.10