🔍 CVE-2022-36024

7.5
CVSS Score
HIGH
2022-08-18
2026-06-17 04:52
✅ 완료

🇰🇷 한글 설명

py-cord 2.0.0 버전을 사용하는 디스코드 봇은 특정 권한 설정 시 원격 종료 공격에 취약합니다. 'bot' 권한 없이 'application.commands' 범위로 봇이 서버에 추가될 경우 발생하며, 현재 모든 공개 슬래시 커맨드 사용 봇이 영향을 받을 수 있습니다.

💡 쉬운 설명

디스코드 봇을 만드는 도구의 결함으로 인해, 공격자가 봇을 강제로 종료시킬 수 있는 보안 문제가 발견되었습니다. 이 문제는 봇을 최신 버전으로 업데이트하면 해결됩니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

py-cord version 2.0.0

⚔️ 공격 벡터

application.commands 권한만 부여된 상태로 봇이 서버에 초대될 때 원격 명령을 통한 서비스 종료

🛡️ 대응 방법

py-cord를 패치된 버전인 2.0.1 이상으로 업그레이드하십시오.

🔧 검증 코드

출력된 버전이 2.0.0이면 취약하며, 2.0.1 이상이면 안전합니다.

Shell / Script
pip show py-cord | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python