Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nodejs | 0.6.17~dfsg1-1 | — |
| Debian 13 | nodejs | 0.6.17~dfsg1-1 | — |
| Debian 12 | nodejs | 0.6.17~dfsg1-1 | — |
References
- https://github.com/joyent/node/commit/c9a231d
- http://blog.nodejs.org/2012/05/04/version-0-6-17-stable/
- 49066 third-party-advisory
- https://github.com/joyent/node/commit/7b3fb22
- [oss-security] 20120508 CVE request: node.js <0.6.17/0.7.8 HTTP server information disclosure mailing-list
- [oss-security] 20120508 Re: CVE request: node.js <0.6.17/0.7.8 HTTP server information disclosure mailing-list
- https://support.f5.com/csp/article/K99038439?utm_source=f5support&%3Butm_medium=RSS