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.0: 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/E:U/U:Green
CVE-ID: CVE-2012-2330
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Node.js Foundation
Affected software:
Node.js

Detailed vulnerability description

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.


How to mitigate CVE-2012-2330

Install update from vendor's website.

Sources