GHSA-qmhj-m29v-gvmr

Suggest an improvement
Source
https://github.com/advisories/GHSA-qmhj-m29v-gvmr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-qmhj-m29v-gvmr/GHSA-qmhj-m29v-gvmr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qmhj-m29v-gvmr
Aliases
Published
2022-08-18T14:18:37Z
Modified
2024-11-26T18:46:54Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
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 * Email us at support@pycord.dev

Database specific
{
    "nvd_published_at": "2022-08-18T15:15:00Z",
    "cwe_ids": [
        "CWE-284"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-08-18T14:18:37Z"
}
References

Affected packages

PyPI / py-cord

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.0.1

Affected versions

2.*

2.0.0