cve/2022/CVE-2022-25345.md

18 lines
722 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2022-25345](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25345)
![](https://img.shields.io/static/v1?label=Product&message=%40discordjs%2Fopus&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%200%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Denial%20of%20Service%20(DoS)&color=brighgreen)
### 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.
### POC
#### Reference
- https://snyk.io/vuln/SNYK-JS-DISCORDJSOPUS-2403100
#### Github
No PoCs found on GitHub currently.