{"id":"CVE-2022-25345","published":"2022-06-17T20:00:23Z","modified":"2024-09-17T00:35:39Z","title":"Denial of Service (DoS)","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01399,"percentile":0.73148,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-DISCORDJSOPUS-2403100","tags":["x_refsource_MISC"]},{"url":"https://github.com/discordjs/opus/blob/3ca4341ffdd81cf83cec57045e59e228e6017590/src/node-opus.cc%23L28","tags":["x_refsource_MISC"]}],"priority":{"score":19.9,"factors":[{"name":"EPSS percentile","points":14.63},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"@discordjs/opus","versions":["< unspecified"]}],"affected":[{"ecosystem":"npm","package":"@discordjs/opus","vulnerableRanges":["<0.8.0"],"patched":["0.8.0"],"from":["GHSA-rvgf-69j7-xh78"],"provenance":"source"}],"summary":{"text":"The @discordjs/opus package contains a flaw in its encoder, which fails when asked to encode with an encoder configured for zero channels or with a non-initialized buffer. An attacker who can supply input to an application using this package can trigger a denial of service by causing the encoder to hard-crash, requiring only network access with no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:57Z"},"euvd":{"id":"EUVD-2022-6154","exploited":false,"provenance":"source"}}