Input validation error in Node.js - CVE-2012-2330

 

Input validation error in Node.js - CVE-2012-2330

Published: August 14, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43730
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-2330
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

The Update method in src/node_http_parser.cc in Node.js before 0.6.17 and 0.7 before 0.7.8 does not properly check the length of a string, which allows remote attackers to obtain sensitive information (request header contents) and possibly spoof HTTP headers via a zero length string.


Affected software

Node.js

How to mitigate CVE-2012-2330

Install update from vendor's website.


External References

Related Security Bulletins