CVE-2024-21526
JavaScript vulnerability analysis and mitigation

Overview

The speaker package contains a Denial of Service (DoS) vulnerability identified as CVE-2024-21526. The vulnerability affects all versions of the package and was discovered on July 10, 2024. The issue occurs when unexpected input types are provided to the channels property of the Speaker object, which can trigger an assert macro and lead to a process crash (Snyk Advisory).

Technical details

The vulnerability is classified with 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. The issue is categorized under CWE-400 (Uncontrolled Resource Consumption) and CWE-241 (Improper Handling of Unexpected Data Type). The vulnerability can be triggered by providing non-numeric values to the channels property of the Speaker object, which causes an assert macro to be reached, resulting in a process crash (Snyk Advisory).

Impact

When successfully exploited, this vulnerability can lead to a complete process crash, resulting in a Denial of Service condition. The impact is limited to availability, with no direct effects on confidentiality or integrity of the system (Snyk Advisory).

Exploitability

The vulnerability is remotely exploitable without requiring authentication. A proof of concept exists demonstrating the exploitation by creating a new Speaker object with a non-numeric channels value: const Speaker = require('speaker'); const speaker = new Speaker({ channels: "A" }); speaker.write("") (Snyk Advisory).

Mitigation and workarounds

Currently, there is no fixed version available for the speaker package. Users should monitor for updates and consider implementing input validation at the application level to prevent unexpected input types from being passed to the Speaker object's channels property (Snyk Advisory).

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

CVE-2026-73421CRITICAL9.1
  • JavaScript logoJavaScript
  • next-auth
NoYesAug 13, 2026
CVE-2026-73420CRITICAL9.1
  • JavaScript logoJavaScript
  • next-auth
NoYesAug 13, 2026
CVE-2026-73305HIGH8.8
  • JavaScript logoJavaScript
  • @budibase/server
NoNoAug 13, 2026
CVE-2026-73408HIGH7.6
  • JavaScript logoJavaScript
  • @budibase/server
NoNoAug 13, 2026
CVE-2026-73428MEDIUM4.6
  • JavaScript logoJavaScript
  • action_text-trix
NoYesAug 13, 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