Vulnerability · Published Aug 18, 2022 · Assigned by GitHub_M

CVE-2022-36024Bots using py-cord as discord api wrapper are vulnerable to shutdowns through remote code execution

High 7.5

In plain English

A high-severity missing authorization in pycord from Pycord-Development. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.8%top 42.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

py-cord is a an API wrapper for Discord written in Python. Bots creating using py-cord version 2.0.0 are vulnerable to remote shutdown if they are added to the server with the `application.commands` scope without the `bot` scope. Currently, it appears that all public bots that use slash commands are affected. This issue has been patched in version 2.0.1. There are currently no recommended workarounds - please upgrade to a patched version.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpy-cord2.0.1GHSA-qmhj-m29v-gvmr
PyPIpy-cord2.0.1PYSEC-2022-43146

Affected products (as reported)

VendorProductVersions
Pycord-Development pycord = 2.0.0

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

References