Vulnerability · Published Jul 11, 2024 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity incorrect authorization in Red-DiscordBot from Cog-Creators. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 64.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIred-discordbot3.5.10GHSA-5jq8-q6rj-9gq4
PyPIred-discordbot3.5.10PYSEC-2026-1865

Affected products (as reported)

VendorProductVersions
Cog-Creators Red-DiscordBot >= 3.5.0, < 3.5.10

Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References