Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2020-36049
JavaScript vulnerability analysis and mitigation

Overview

CVE-2020-36049 affects socket.io-parser versions before 3.4.1, allowing attackers to cause a denial of service through memory consumption. The vulnerability was discovered when a concatenation approach used in packet processing could be exploited via large packets (NVD).

Technical details

The vulnerability exists in the packet processing mechanism where the parser uses string concatenation for handling packets. When processing large packets, the implementation creates many ConsOneByteString objects (32 bytes each) through concatenation operations, leading to excessive memory usage. The vulnerability has a CVSS v3.1 Base Score of 7.5 HIGH with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD, Socket.IO Blog).

Impact

The vulnerability can lead to denial of service through excessive memory consumption. When exploited, a single HTTP POST request can cause extreme CPU and memory usage, potentially causing the server to crash with a JavaScript heap out of memory fatal error (Socket.IO Blog).

Exploitability

The vulnerability can be exploited through the HTTP long-polling transport by sending a payload containing either many tiny packets, one giant integer packet, or many heartbeat packets. The maximum HTTP body size of 100MB can be leveraged to cause significant resource consumption (Socket.IO Blog, Kill Engine POC).

Mitigation and workarounds

The vulnerability was fixed in socket.io-parser version 3.4.1 by improving the string handling approach to use substring rather than concatenation. The fix prevents the build-up of ConsOneByteString objects that led to memory exhaustion (Parser Fix).

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-54504HIGH8.8
  • JavaScript logoJavaScript
  • @andrea9293/mcp-documentation-server
NoYesSep 17, 2026
CVE-2026-77615HIGH8.7
  • JavaScript logoJavaScript
  • paella-core
NoYesSep 17, 2026
CVE-2026-91127HIGH8.2
  • JavaScript logoJavaScript
  • @file-viewer/doc
NoYesSep 18, 2026
CVE-2026-77301HIGH7.5
  • JavaScript logoJavaScript
  • openclaw
NoYesSep 18, 2026
CVE-2026-84992MEDIUM6.1
  • JavaScript logoJavaScript
  • md-editor-v3
NoYesSep 18, 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