CVE-2018-7159
Description
The HTTP parser in all current versions of Node.js ignores spaces in the Content-Length header, allowing input such as Content-Length: 1 2 to be interpreted as having a value of 12. The HTTP specification does not allow for spaces in the Content-Length value and the Node.js HTTP parser has been brought into line on this particular difference. The security risk of this flaw to Node.js users is considered to be VERY LOW as it is difficult, and may be impossible, to craft an attack that makes use of this flaw in a way that could not already be achieved by supplying an incorrect value for Content-Length. Vulnerabilities may exist in user-code that make incorrect assumptions about the potential accuracy of this value compared to the actual length of the data supplied. Node.js users crafting lower-level HTTP utilities are advised to re-check the length of any input supplied after parsing is complete.
Risk Information
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| Vulnerabilities CVE-2018-0739,CVE-2018-7160,CVE-2018-7158,CVE-2018-7159 are fixed in Node.js 10 (10.24.1) | Windows |
| Vulnerabilities CVE-2018-0739,CVE-2018-7160,CVE-2018-7158,CVE-2018-7159 are fixed in Node.js 16 (x64) (16.14.0) | Windows |
| Vulnerabilities CVE-2018-0739,CVE-2018-7160,CVE-2018-7158,CVE-2018-7159 are fixed in Node.js 16 (16.14.0) | Windows |
| Vulnerabilities CVE-2018-0739,CVE-2018-7160,CVE-2018-7158,CVE-2018-7159 are fixed in Node.js 8 8.11.0 | Windows |
| Vulnerabilities CVE-2018-0739,CVE-2018-7160,CVE-2018-7158,CVE-2018-7159 are fixed in Node.js 8 (x64) 8.11.0 | Windows |
| Vulnerabilities CVE-2018-0739,CVE-2018-7160,CVE-2018-7158,CVE-2018-7159 are fixed in Node.js 9.10.0 | Windows |
| Vulnerabilities CVE-2018-0739,CVE-2018-7160,CVE-2018-7158,CVE-2018-7159 are fixed in Node.js 4.9.0 | Windows |
| Multiple Vulnerabilities are affected in IBM Planning Analytics Local 2.0 | Windows |
| Improper Input Validation Vulnerability (CVE-2018-7159) | NCM |
Patch Details
Click to see the patches provided by ManageEngine for this CVE
| Patch ID | Patch Description |
|---|---|
| PATCH-319042 | Node.js 10 (10.24.1) |
| PATCH-332182 | Node.js 16 (x64) (16.20.2) |
| PATCH-332181 | Node.js 16 (16.20.2) |
| PATCH-319042 | Node.js 10 (10.24.1) |
| PATCH-319042 | Node.js 10 (10.24.1) |
References
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234