Vulnerability · Published Jun 17, 2022 · Assigned by snyk
CVE-2022-25345Denial of Service (DoS)
High 7.5
In plain English
A high-severity security flaw in @discordjs/opus. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.4%top 27.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
All versions of package @discordjs/opus are vulnerable to Denial of Service (DoS) when trying to encode using an encoder with zero channels, or a non-initialized buffer. This leads to a hard crash.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | opus | 0 | ALPINE-CVE-2022-25345 |
| Alpine:v3.21 | opus | 0 | ALPINE-CVE-2022-25345 |
| Alpine:v3.22 | opus | 0 | ALPINE-CVE-2022-25345 |
| Alpine:v3.23 | opus | 0 | ALPINE-CVE-2022-25345 |
| Alpine:v3.24 | opus | 0 | ALPINE-CVE-2022-25345 |
| npm | @discordjs/opus | 0.8.0 | GHSA-rvgf-69j7-xh78 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | @discordjs/opus | 0 – before unspecified |