Improper Input Validation Affecting nodejs/node package, versions [,0.7.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.6% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-NODEJSNODE-2365429
  • published26 Jan 2022
  • disclosed13 Aug 2012
  • creditUnknown

Introduced: 13 Aug 2012

CVE-2012-2330  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade nodejs/node to version 0.7.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. 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.

CVSS Base Scores

version 3.1