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

28 Jun 2022, 12:57

Type Values Removed Values Added
CPE cpe:2.3:a:discordjs:opus:*:*:*:*:*:node.js:*:*
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
References (CONFIRM) https://snyk.io/vuln/SNYK-JS-DISCORDJSOPUS-2403100 - (CONFIRM) https://snyk.io/vuln/SNYK-JS-DISCORDJSOPUS-2403100 - Exploit, Third Party Advisory
CWE CWE-908
First Time Discordjs opus
Discordjs
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5

17 Jun 2022, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-06-17 20:15

Updated : 2023-12-10 14:22


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