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

EcosystemPackageFixed inAdvisory
Alpine:v3.20opus0ALPINE-CVE-2022-25345
Alpine:v3.21opus0ALPINE-CVE-2022-25345
Alpine:v3.22opus0ALPINE-CVE-2022-25345
Alpine:v3.23opus0ALPINE-CVE-2022-25345
Alpine:v3.24opus0ALPINE-CVE-2022-25345
npm@discordjs/opus0.8.0GHSA-rvgf-69j7-xh78

Affected products (as reported)

VendorProductVersions
n/a @discordjs/opus 0 – before unspecified

References