audify vulnerable to Improper Validation of Array Index
Date: 2024-07
Affected: npm/audify
Attack vector: other
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-21522
CWE: CWE-129
CVSS: 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)

All versions of the package audify are vulnerable to Improper Validation of Array Index when frameSize is provided to the new OpusDecoder().decode or new OpusDecoder().decodeFloat functions it is not checked for negative values. This can lead to a process crash.


Mitigations:

Architectural layers (MAESTRO):