CVE-2020-13410
JavaScript vulnerability analysis and mitigation

Overview

A Denial of Service (DoS) vulnerability was discovered in MoscaJS Aedes version 0.42.0, identified as CVE-2020-13410. The vulnerability exists in lib/write.js due to improper handling of exceptions during the writing of packets (Payatu Advisory).

Technical details

The vulnerability occurs when a specifically crafted payload with published header and message length set to 0 is sent to the server. The issue arises in the writeNumberCached function while attempting to create a packet for Publish Release. The operation fails at stream.write() as the datatype becomes an undefined array with -1 number (the packet id of the packet), leading to improper error handling (Payatu Advisory).

Impact

When exploited, this vulnerability can cause the MQTT broker server to crash, resulting in a denial of service condition. This affects the availability of the MQTT broker service (Payatu Advisory).

Exploitability

The vulnerability can be triggered by sending a maliciously crafted payload to the MQTT broker. The attack can be initiated remotely, requiring minimal interaction from the attacker (Payatu Advisory).

Mitigation and workarounds

The vulnerability has been fixed in a pull request that implements proper error handling for writeToStream errors. Users should upgrade to the version containing the fix. The fix was implemented through GitHub pull request #493 (GitHub PR).

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-77415CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-77414CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-77413CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-63421HIGH7.5
  • JavaScript logoJavaScript
  • @keystone-6/core
NoYesAug 21, 2026
CVE-2026-53509MEDIUM5.7
  • JavaScript logoJavaScript
  • @aborruso/ckan-mcp-server
NoYesAug 21, 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