PyPi: Py-Cord

CVE-2022-36024

Safety vulnerability ID: 50675

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Aug 18, 2022 Updated at Mar 02, 2024
Scan your Python projects for vulnerabilities →

Advisory

Py-cord 2.0.1 includes a fix for CVE-2022-36024: This issue allows users to be able to remotely shutdown the bot running on py-cord, via adding it to a discord server with the 'application.commands' scope but not the 'bot' scope - then executing a command in that server. Currently, it appears that all public bots that use slash commands are affected.
https://github.com/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr

Affected package

py-cord

Latest version: 2.5.0

A Python wrapper for the Discord API

Affected versions

Fixed versions

Vulnerability changelog

A fork of discord.py py-cord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. This issue allows users to be able to remotely shutdown the a bot running on py-cord, via adding it to a discord server with the `application.commands` scope but not the `bot` scope - then executing a command in that server. 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. See CVE-2022-36024.


CONFIRM:https://github.com/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr: https://github.com/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr
MISC:https://github.com/Pycord-Development/pycord/pull/1568: https://github.com/Pycord-Development/pycord/pull/1568

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 6.5

CVSS v3 Details

MEDIUM 6.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
LOW
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
NONE
Integrity Impact (I)
NONE
Availability Availability (A)
HIGH