CVE-2022-36024

    Dashboard / Vulnerabilities / CVE-2022-36024

    CVE-2022-36024

    Published: 18 Aug 2022Last Modified: 12 Aug 2026

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

    Details: 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

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 95fd465024ddc9bcfa45c3d09218296ab7a0c627
    Fixed -None

    Affected versions

    2.0.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2022-36024 | CVE-DB