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.
Remediation
References
https://github.com/discordjs/opus/blob/3ca4341ffdd81cf83cec57045e59e228e6017590/src/node-opus.cc%23L28
https://snyk.io/vuln/SNYK-JS-DISCORDJSOPUS-2403100
Related Vulnerabilities
CVE-2020-28477 Vulnerability in maven package org.webjars.npm:immer
CVE-2017-7561 Vulnerability in maven package org.jboss.resteasy:resteasy-jaxrs
CVE-2018-1000006 Vulnerability in npm package electron
CVE-2021-32809 Vulnerability in npm package ckeditor4
CVE-2019-13127 Vulnerability in maven package org.webjars.bowergithub.jgraph:mxgraph