Vulnerability · Published Jul 10, 2024 · Assigned by snyk
CVE-2024-21521
High 7.5
In plain English
A high-severity uncontrolled resource consumption in @discordjs/opus. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities).
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 51.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @discordjs/opus | no fix listed | GHSA-43wq-xrcm-3vgr |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | @discordjs/opus | 0 – before * |
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P