pycord-development/pycord · Security

Bots using py-cord as Discord API wrapper are vulnerable to shutdowns through remote code execution

GHSA ID
GHSA-qmhj-m29v-gvmr
CVE ID
CVE-2022-36024
Severity
high
Published
Updated
CVSS
7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v3
7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4
8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Description

Impact

py-cord is a an API wrapper for Discord written in Python. Bots 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.

Patches

This issue has been patched in version 2.0.1.

Workarounds

There are currently no recommended workarounds - please upgrade to a patched version.

References

https://github.com/Pycord-Development/pycord/pull/1568

For more information

If you have any questions or comments about this advisory:

CWEs

References