CVE-2024-21521: @discordjs/opus vulnerable to Denial of Service
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.
Published Jul 10, 2024 · Updated Jul 31, 2024
Affected packages
@discordjs/opus
- Ecosystem
- npm
- Affected
- <= 0.9.0
- Fixed in
- No patched version yet
- Check
npm ls @discordjs/opus
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to vladfrangu.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-21521
- https://gist.github.com/dellalibera/98c48fd74bb240adbd7841a5c02aba9e
- https://security.snyk.io/vuln/SNYK-JS-DISCORDJSOPUS-6370643
- https://github.com/discordjs/opus/blob/814e500c2785c5207ace19650192629beba2728b/src/node-opus.cc#L47
- https://github.com/advisories/GHSA-43wq-xrcm-3vgr
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
