high7.5
CVE-2024-21521
@discordjs/opus vulnerable to Denial of Service
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @discordjs/opus | <= 0.9.0 | none recorded |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://gist.github.com/dellalibera/98c48fd74bb240adbd7841a5c02aba9e
- https://github.com/discordjs/opus/blob/814e500c2785c5207ace19650192629beba2728b/src/node-opus.cc%23L47
- https://security.snyk.io/vuln/SNYK-JS-DISCORDJSOPUS-6370643
- https://github.com/advisories/GHSA-43wq-xrcm-3vgr
- https://nvd.nist.gov/vuln/detail/CVE-2024-21521
- https://github.com/discordjs/opus/blob/814e500c2785c5207ace19650192629beba2728b/src/node-opus.cc#L47