{"id":"GHSA-43wq-xrcm-3vgr","summary":"@discordjs/opus vulnerable to Denial of Service","details":"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.","aliases":["CVE-2024-21521"],"modified":"2024-07-11T19:10:43Z","published":"2024-07-10T06:33:51Z","database_specific":{"github_reviewed_at":"2024-07-10T20:23:30Z","nvd_published_at":"2024-07-10T05:15:10Z","cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21521"},{"type":"WEB","url":"https://gist.github.com/dellalibera/98c48fd74bb240adbd7841a5c02aba9e"},{"type":"PACKAGE","url":"https://github.com/discordjs/opus"},{"type":"WEB","url":"https://github.com/discordjs/opus/blob/814e500c2785c5207ace19650192629beba2728b/src/node-opus.cc#L47"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-DISCORDJSOPUS-6370643"}],"affected":[{"package":{"name":"@discordjs/opus","ecosystem":"npm","purl":"pkg:npm/%40discordjs/opus"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.9.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-43wq-xrcm-3vgr/GHSA-43wq-xrcm-3vgr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"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"}]}