CVE-2012-2330
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.6% in the next 30 days (EPSS).
- Severity: 6.4 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.6% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- Nodejs ≤ 0.6.16
- Nodejs 0.7.0
- Nodejs 0.7.1
- Nodejs 0.7.2
- Nodejs 0.7.3
- Nodejs 0.7.4
- Nodejs 0.7.5
- Nodejs 0.7.6
Attack profile CVSS 2.0 · 6.4
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-2330.md and follow it. Check whether this project is affected by CVE-2012-2330. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/49066
- https://github.com/joyent/node/commit/7b3fb22
- https://github.com/joyent/node/commit/c9a231d
- http://secunia.com/advisories/49066
- https://github.com/joyent/node/commit/7b3fb22
- https://github.com/joyent/node/commit/c9a231d
References
- 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
- https://github.com/joyent/node/commit/7b3fb22
- https://github.com/joyent/node/commit/c9a231d
- https://support.f5.com/csp/article/K99038439?utm_source=f5support&%3Butm_medium=RSS
- 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
- https://github.com/joyent/node/commit/7b3fb22
- https://github.com/joyent/node/commit/c9a231d
- https://support.f5.com/csp/article/K99038439?utm_source=f5support&%3Butm_medium=RSS