Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. py-cord
  4. ›
  5. CVE-2022-36024

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

August 18, 2022 (updated November 26, 2024)

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.

References

  • github.com/Pycord-Development/pycord
  • github.com/Pycord-Development/pycord/pull/1568
  • github.com/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr
  • github.com/advisories/GHSA-qmhj-m29v-gvmr
  • github.com/pypa/advisory-database/tree/main/vulns/py-cord/PYSEC-2022-43146.yaml
  • nvd.nist.gov/vuln/detail/CVE-2022-36024

Code Behaviors & Features

Detect and mitigate CVE-2022-36024 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 before 2.0.1, version 2.0.0

Fixed versions

  • 2.0.1

Solution

Upgrade to version 2.0.1 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

pypi/py-cord/CVE-2022-36024.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:59 +0000.