Wiz Agents & Workflows are here

CVE-2024-21522
JavaScript vulnerability analysis and mitigation

Overview

All versions of the package audify are vulnerable to Improper Validation of Array Index (CVE-2024-21522). The vulnerability was discovered and disclosed on February 20, 2024, and published on July 9, 2024. The vulnerability affects the OpusDecoder component in the audify package, which is used for playing, streaming, recording PCM audio data, and encoding/decoding Opus to PCM audio data (Snyk Advisory).

Technical details

The vulnerability occurs when frameSize is provided to the new OpusDecoder().decode or new OpusDecoder().decodeFloat functions, where it is not checked for negative values. The vulnerable code is present in the opus_decoder.cpp file. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating it is network-accessible, requires low attack complexity, and can result in high availability impact (Snyk Advisory).

Impact

When exploited, this vulnerability can lead to a process crash due to invalid array indexing. The impact primarily affects the availability of the system, with no direct impact on confidentiality or integrity. The vulnerability can result in a Denial of Service (DoS) condition when a negative frameSize value is provided (GitHub PoC).

Mitigation and workarounds

Currently, there is no fixed version available for the audify package (Snyk Advisory). Users should monitor for updates and implement input validation for frameSize parameters as a temporary workaround.

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-3hfp-gqgh-xc5gCRITICAL9.6
  • JavaScriptJavaScript
  • @lightdash/cli
NoYesApr 02, 2026
CVE-2026-34950CRITICAL9.1
  • JavaScriptJavaScript
  • fast-jwt
NoNoApr 02, 2026
CVE-2026-34752HIGH8.7
  • JavaScriptJavaScript
  • haraka
NoYesApr 02, 2026
CVE-2026-34825HIGH8.5
  • JavaScriptJavaScript
  • @nocobase/plugin-workflow-sql
NoYesApr 02, 2026
GHSA-ccgf-5rwj-j3hvLOW2.1
  • JavaScriptJavaScript
  • telejson
NoYesApr 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management