PT-2022-17227 · Discordjs · @Discordjs/Opus

Cristian-Alexandru Staicu

·

Published

2022-06-17

·

Updated

2022-06-28

·

CVE-2022-25345

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions @discordjs/opus versions prior to 0.8.0
Description The issue is related to a Denial of Service (DoS) condition that occurs when trying to encode using an encoder with zero channels or a non-initialized buffer, leading to a hard crash. This is due to improperly handled errors that cause the application to crash instead of returning the error to the user.
Recommendations For versions prior to 0.8.0, update to version 0.8.0 or later to resolve the issue, as this version correctly returns errors to the user instead of causing a hard crash.

Exploit

Fix

Use of Uninitialized Resource

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-25345
GHSA-RVGF-69J7-XH78
SNYK-JS-DISCORDJSOPUS-2403100

Affected Products

@Discordjs/Opus