GHSA-43wq-xrcm-3vgr
@discordjs/opus vulnerable to Denial of Service
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @discordjs/opus | <= 0.9.0 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
All versions of the package @discordjs/opus are vulnerable to Denial of Service (DoS) due to providing an input object with a property toString to several different functions. Exploiting this vulnerability could lead to a process crash.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2024-21521
- https://gist.github.com/dellalibera/98c48fd74bb240adbd7841a5c02aba9e
- https://github.com/discordjs/opus
- https://github.com/discordjs/opus/blob/814e500c2785c5207ace19650192629beba2728b/src/node-opus.cc#L47
- https://security.snyk.io/vuln/SNYK-JS-DISCORDJSOPUS-6370643