CVE-2024-21521 json
@discordjs/opus vulnerable to Denial of Service
published 2y ago modified 4mo ago also EUVD-2024-2242 , GHSA-43wq-xrcm-3vgr
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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 system crash.
Patch / fix
- discordjs opus 0.10.0
Is CVE-2024-21521 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.60% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @discordjs/opus | <=0.9.0 |
no fix listed |
Affected products
- n/a @discordjs/opus
- discordjs_opus discordjs_opus
Classification
References
-
security.snyk.io
/vuln/SNYK-JS-DISCORDJSOPUS-6370643
web
- github.com /discordjs/opus/blob/814e500c2785c5207ace19650192629beba2728b/src/node-opus.cc%23L47
-
gist.github.com
/dellalibera/98c48fd74bb240adbd7841a5c02aba9e
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-21521
advisory
-
github.com
/discordjs/opus
package
-
github.com
/discordjs/opus/blob/814e500c2785c5207ace19650192629beba2728b/src/node-opus.cc#L47
web
Sources
- CVE List CVE-2024-21521
- GitHub Advisory GHSA-43wq-xrcm-3vgr
- NVD CVE-2024-21521
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.