CVE-2022-25345

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:discordjs:opus:*:*:*:*:*:node.js:*:*

History

21 Nov 2024, 06:52

Type Values Removed Values Added
References () https://github.com/discordjs/opus/blob/3ca4341ffdd81cf83cec57045e59e228e6017590/src/node-opus.cc%23L28 - Broken Link, Third Party Advisory () https://github.com/discordjs/opus/blob/3ca4341ffdd81cf83cec57045e59e228e6017590/src/node-opus.cc%23L28 - Broken Link, Third Party Advisory
References () https://snyk.io/vuln/SNYK-JS-DISCORDJSOPUS-2403100 - Exploit, Third Party Advisory () https://snyk.io/vuln/SNYK-JS-DISCORDJSOPUS-2403100 - Exploit, Third Party Advisory

28 Jun 2022, 12:57

Type Values Removed Values Added
CWE CWE-908
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5
CPE cpe:2.3:a:discordjs:opus:*:*:*:*:*:node.js:*:*
References (CONFIRM) https://snyk.io/vuln/SNYK-JS-DISCORDJSOPUS-2403100 - (CONFIRM) https://snyk.io/vuln/SNYK-JS-DISCORDJSOPUS-2403100 - Exploit, Third Party Advisory
References (CONFIRM) https://github.com/discordjs/opus/blob/3ca4341ffdd81cf83cec57045e59e228e6017590/src/node-opus.cc%23L28 - (CONFIRM) https://github.com/discordjs/opus/blob/3ca4341ffdd81cf83cec57045e59e228e6017590/src/node-opus.cc%23L28 - Broken Link, Third Party Advisory

17 Jun 2022, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-06-17 20:15

Updated : 2024-11-21 06:52


NVD link : CVE-2022-25345

Mitre link : CVE-2022-25345

CVE.ORG link : CVE-2022-25345


JSON object : View

Products Affected

discordjs

  • opus
CWE
CWE-908

Use of Uninitialized Resource