Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-39905 EUVD-2024-2269GHSA-5jq8-q6rj-9gq4PYSEC-2026-1865

Red-DiscordBot vulnerable to Incorrect Authorization in commands API

Published Jul 11, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
Cog-Creators Red-DiscordBot >= 3.5.0, < 3.5.10 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI red-discordbot >= 3.5.0, < 3.5.10 3.5.10 GHSA-5jq8-q6rj-9gq4

References