GHSA-qmhj-m29v-gvmr

    Dashboard / Vulnerabilities / GHSA-qmhj-m29v-gvmr

    GHSA-qmhj-m29v-gvmr

    Published: 18 Aug 2022Last Modified: 26 Nov 2024

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

    Details: ### 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: * Open an issue in [our GitHub](https://github.com/Pycord-Development/pycord) * Email us at [[email protected]](mailto:[email protected])

    Affected packages

    Package

    Name: py-cord

    Purl: pkg:pypi/py-cord

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 2.0.0
    Fixed -2.0.1

    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
    GHSA-qmhj-m29v-gvmr | CVE-DB