CVE-2022-36024CWE-284CWE-862

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

High · published August 18, 2022

CVSS v3.1
7.5
EPSS
1%
Percentile
56.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00797 · 56.0th percentile
Weaknesses
CWE-284 · Improper Access Control; CWE-862 · Missing Authorization
Published
2022-08-18T14:45Z
EPSS history
Timeline
  • 18 AUG 14:45Z
    Bots using py-cord as discord api wrapper are vulnerable to shutdowns through remote code execution
    cvelistv5