Lucene search

K
githubGitHub Advisory DatabaseGHSA-QMHJ-M29V-GVMR
HistoryAug 18, 2022 - 2:18 p.m.

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

2022-08-1814:18:37
CWE-284
GitHub Advisory Database
github.com
28
py-cord
discord api
vulnerability
remote shutdown
patch
workaround

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

32.8%

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:

Affected configurations

Vulners
Node
py-cordMatch2.0.0
VendorProductVersionCPE
*py-cord2.0.0cpe:2.3:a:*:py-cord:2.0.0:*:*:*:*:*:*:*

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

32.8%

Related for GHSA-QMHJ-M29V-GVMR