Bots using py-cord as Discord API wrapper are vulnerable to shutdowns through remote code execution
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
- Email us at support@pycord.dev
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | py-cord | >= 2.0.0, < 2.0.1 | 2.0.1 |
Verweise
- https://github.com/Pycord-Development/pycord/security/advisories/GHSA-qmhj-m29v-gvmr
- https://github.com/Pycord-Development/pycord/pull/1568
- https://nvd.nist.gov/vuln/detail/CVE-2022-36024
- https://github.com/Pycord-Development/pycord
- https://github.com/pypa/advisory-database/tree/main/vulns/py-cord/PYSEC-2022-43146.yaml
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Schwäche (CWE)
CWE-284- Plattform
- Python (PyPI)
- Paket
py-cord- Veröffentlicht
- 18.08.2022
- Aktualisiert
- 11.10.2026 12:18
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2022-43146 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-qmhj-m29v-gvmr - CC BY 4.0
Schwachstellenhistorie: py-cord
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.