Skip to main content
← All vulnerabilities
CVE-2022-36024PYSEC-2022-43146GHSA-QMHJ-M29V-GVMR

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Pycord-Development pycord

    2.0.0

  • py-cordPyPI

    From 2.0.0 · fixed in 2.0.1

References 2

GitHub · Pycord-Development/pycord