Skip to content

CVE-2024-39905 Red-DiscordBot vulnerable to Incorrect Authorization in commands API

MediumCVSS 5.3 EPSS 0.41%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

Red is a fully modular Discord bot. Due to a bug in Red's Core API, 3rd-party cogs using the @commands.can_manage_channel() command permission check without additional permission controls may authorize a user to run a command even when that user doesn't have permissions to manage a channel. None of the core commands or core cogs are affected. The maintainers of the project are not aware of any public 3rd-party cog utilizing this API at the time of writing this advisory. The problem was patched and released in version 3.5.10.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
cogboard red discord bot >= 3.5.0, < 3.5.10 3.5.10 Fixed
pypi red-discordbot(PyPI) = 3.5.0; = 3.5.1; = 3.5.2; = 3.5.3 +7 more 3.5.10 Fixed
Cog-Creators Red-DiscordBot = >= 3.5.0, < 3.5.10 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi red-discordbot(PyPI) >= 3.5.0, < 3.5.10 3.5.10
pypi red-discordbot(PyPI) = 3.5.0 No fix listed
pypi red-discordbot(PyPI) = 3.5.1 No fix listed
pypi red-discordbot(PyPI) = 3.5.2 No fix listed
pypi red-discordbot(PyPI) = 3.5.3 No fix listed
pypi red-discordbot(PyPI) = 3.5.4 No fix listed
pypi red-discordbot(PyPI) = 3.5.5 No fix listed
pypi red-discordbot(PyPI) = 3.5.6 No fix listed
pypi red-discordbot(PyPI) = 3.5.7 No fix listed
pypi red-discordbot(PyPI) = 3.5.8 No fix listed
pypi red-discordbot(PyPI) = 3.5.9 No fix listed
Cog-Creators Red-DiscordBot = >= 3.5.0, < 3.5.10 No fix listed
cogboard red discord bot >= 3.5.0, < 3.5.10 3.5.10

References