{"id":"CVE-2024-21521","aliases":["CVE-2024-21521","GHSA-43wq-xrcm-3vgr"],"related":[],"kind":"vulnerability","state":"published","title":"@discordjs/opus vulnerable to Denial of Service","summary":"All versions of the package @discordjs/opus are vulnerable to Denial of Service (DoS) due to providing an input object with a property toString to several different functions. Exploiting this vulnerability could lead to a system crash.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"All versions of the package @discordjs/opus are vulnerable to Denial of Service (DoS) due to providing an input object with a property toString to several different functions. Exploiting this vulnerability could lead to a system crash.","source":"cvelist"},{"lang":"en","text":"All versions of the package @discordjs/opus are vulnerable to Denial of Service (DoS) due to providing an input object with a property toString to several different functions. Exploiting this vulnerability could lead to a process crash.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Todas las versiones del paquete @discordjs/opus son vulnerables a la Denegación de Servicio (DoS) debido a que proporcionan un objeto de entrada con una propiedad toString para varias funciones diferentes. La explotación de esta vulnerabilidad podría provocar una caída del sistema.","source":"nvd"}],"published":"2024-07-10T05:00:05.872Z","modified":"2026-06-17T07:09:40.200Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-20","CWE-400"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"product":"@discordjs/opus","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"*","status":"affected"}],"vendor":"discordjs_opus","product":"discordjs_opus","cpe":"cpe:2.3:a:discordjs_opus:discordjs_opus:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.9.0"}],"ecosystem":"npm","package":"@discordjs/opus","purl":"pkg:npm/%40discordjs/opus","source":"ghsa"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-DISCORDJSOPUS-6370643","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/discordjs/opus/blob/814e500c2785c5207ace19650192629beba2728b/src/node-opus.cc%23L47","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://gist.github.com/dellalibera/98c48fd74bb240adbd7841a5c02aba9e","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21521","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/discordjs/opus","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/discordjs/opus/blob/814e500c2785c5207ace19650192629beba2728b/src/node-opus.cc#L47","tags":["web"],"sources":["ghsa"]}],"credits":["Alessio Della Libera"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2024-07-10T13:15:37.780Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21521","url":"https://www.cve.org/CVERecord?id=CVE-2024-21521","licence":"CVE Terms of Use","modified":"2025-01-26T16:12:38.405Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-43wq-xrcm-3vgr","url":"https://github.com/advisories/GHSA-43wq-xrcm-3vgr","licence":"CC-BY-4.0","modified":"2024-07-11T19:10:43.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21521","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21521","licence":"Public domain","modified":"2026-06-17T07:09:40.200Z"}],"updatedAt":"2026-11-25T22:58:42.725Z","epss":{"score":0.00597,"percentile":0.49945,"date":"2026-12-01T12:00:22.000Z"}}