#VU43730 Input validation error in Node.js


Published: 2012-08-14 | Updated: 2020-08-11

Vulnerability identifier: #VU43730

Vulnerability risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2012-2330

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Node.js
Server applications / Web servers

Vendor: Node.js Foundation

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Node.js: 0.7.0 - 0.7.7


External links
http://blog.nodejs.org/2012/05/04/version-0-6-17-stable/
http://secunia.com/advisories/49066
http://www.openwall.com/lists/oss-security/2012/05/08/4
http://www.openwall.com/lists/oss-security/2012/05/08/8
http://github.com/joyent/node/commit/7b3fb22
http://github.com/joyent/node/commit/c9a231d
http://support.f5.com/csp/article/K99038439?utm_source=f5support&utm_medium=RSS


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability