CVE-2018-7159
publishednodejs: HTTP parser allowed for spaces inside Content-Length header values
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| The Node.js Project | — | Node.js4.x · 6.x · 8.x · 9.x | Affected | Not stated | nodejs |
| Amazon Linux | AL2 | Release evaluationALAS2-2019-1322 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | nodejs | Fixed | 8.11.0-r0 | Package fix record |
| Oracle Linux | 7 | http-parseraarch64 | Advisory build | 0:2.7.1-8.el7 | ELSA-2019-2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parseri686 | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| SUSE / openSUSE | SLE-11-SP4 | MozillaFirefoxx86_64 | Advisory build | 68.2.0-78.51.4 | SUSE-SU-2019:14246-1 |
| Alpine Linux | edge | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Alpine Linux | v3.10 | nodejs | Fixed | 8.11.0-r0 | Package fix record |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.10 | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Alpine Linux | v3.11 | nodejs | Fixed | 8.11.0-r0 | Package fix record |
| Alpine Linux | v3.11 | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Alpine Linux | v3.12 | nodejs | Fixed | 8.11.0-r0 | Package fix record |
| Alpine Linux | v3.12 | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Alpine Linux | v3.13 | nodejs | Fixed | 8.11.0-r0 | Package fix record |
| Alpine Linux | v3.13 | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Alpine Linux | v3.14 | nodejs | Fixed | 8.11.0-r0 | Package fix record |
| Alpine Linux | v3.14 | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Alpine Linux | v3.15 | nodejs | Fixed | 8.11.0-r0 | Package fix record |
| Alpine Linux | v3.15 | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Alpine Linux | v3.16 | nodejs | Fixed | 8.11.0-r0 | Package fix record |
| Alpine Linux | v3.16 | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Alpine Linux | v3.17 | nodejs | Fixed | 8.11.0-r0 | Package fix record |
| Alpine Linux | v3.17 | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Alpine Linux | v3.18 | nodejs | Fixed | 8.11.0-r0 | Package fix record |
| Alpine Linux | v3.18 | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Alpine Linux | v3.19 | nodejs | Fixed | 8.11.0-r0 | Package fix record |
| Alpine Linux | v3.19 | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Alpine Linux | v3.20 | nodejs | Fixed | 8.11.0-r0 | Package fix record |
| Alpine Linux | v3.20 | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Alpine Linux | v3.21 | nodejs | Fixed | 8.11.0-r0 | Package fix record |
| Alpine Linux | v3.21 | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Alpine Linux | v3.22 | nodejs | Fixed | 8.11.0-r0 | Package fix record |
| Alpine Linux | v3.22 | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Alpine Linux | v3.23 | nodejs | Fixed | 8.11.0-r0 | Package fix record |
| Alpine Linux | v3.23 | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Alpine Linux | v3.24 | nodejs | Fixed | 8.11.0-r0 | Package fix record |
| Alpine Linux | v3.24 | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Alpine Linux | v3.8 | nodejs | Fixed | 8.11.0-r0 | Package fix record |
| Alpine Linux | v3.8 | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Alpine Linux | v3.9 | nodejs | Fixed | 8.11.0-r0 | Package fix record |
| Alpine Linux | v3.9 | nodejs-current | Fixed | 9.10.0-r0 | Package fix record |
| Oracle Linux | 7 | http-parserx86_64 | Advisory build | 0:2.7.1-8.el7 | ELSA-2019-2258 |
| Oracle Linux | 7 | http-parser-develaarch64 | Advisory build | 0:2.7.1-8.el7 | ELSA-2019-2258 |
| Oracle Linux | 7 | http-parser-develx86_64 | Advisory build | 0:2.7.1-8.el7 | ELSA-2019-2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parserppc | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parserppc64 | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parserppc64le | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parsers390 | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parsers390x | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parsersrc | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parserx86_64 | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parser-debuginfoi686 | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parser-debuginfoppc | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parser-debuginfoppc64 | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parser-debuginfoppc64le | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parser-debuginfos390 | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parser-debuginfos390x | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parser-debuginfox86_64 | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parser-develi686 | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parser-develppc | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parser-develppc64 | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parser-develppc64le | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parser-devels390 | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parser-devels390x | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | http-parser-develx86_64 | Advisory build | 2.7.1-8.el7 | RHSA-2019:2258 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejsaarch64 | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejsppc64le | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejss390x | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejssrc | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejsx86_64 | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-debuginfoaarch64 | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-debuginfoppc64le | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-debuginfos390x | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-debuginfox86_64 | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-develaarch64 | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-develppc64le | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-devels390x | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-develx86_64 | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-docsnoarch | Advisory build | 8.11.4-1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-npmaarch64 | Advisory build | 5.6.0-8.11.4.1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-npmppc64le | Advisory build | 5.6.0-8.11.4.1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-npms390x | Advisory build | 5.6.0-8.11.4.1.el7 | RHSA-2018:2949 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-npmx86_64 | Advisory build | 5.6.0-8.11.4.1.el7 | RHSA-2018:2949 |
| SUSE / openSUSE | SLE-11-SP4 | MozillaFirefox-branding-SLEDx86_64 | Advisory build | 68-21.9.8 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | MozillaFirefox-translations-commonx86_64 | Advisory build | 68.2.0-78.51.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | MozillaFirefox-translations-otherx86_64 | Advisory build | 68.2.0-78.51.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-atk-langx86_64 | Advisory build | 2.26.1-2.8.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gdk-pixbuf-langx86_64 | Advisory build | 2.36.11-2.8.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gdk-pixbuf-query-loadersx86_64 | Advisory build | 2.36.11-2.8.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gdk-pixbuf-thumbnailerx86_64 | Advisory build | 2.36.11-2.8.4 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gio-branding-upstreamx86_64 | Advisory build | 2.54.3-2.14.7 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-glib2-langx86_64 | Advisory build | 2.54.3-2.14.7 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-glib2-toolsx86_64 | Advisory build | 2.54.3-2.14.7 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-branding-upstreamx86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-datax86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-immodule-amharicx86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-immodule-inuktitutx86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-immodule-multipressx86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-immodule-thaix86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-immodule-vietnamesex86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-immodule-ximx86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SUSE / openSUSE | SLE-11-SP4 | firefox-gtk3-immodules-tigrignax86_64 | Advisory build | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| The Node.js Project | Node.js | 4.x (affected)6.x (affected)8.x (affected)9.x (affected) | nodejs · cna |
Weaknesses
1- CWE-115 CWE-115: Misinterpretation of Input
References
3- RHSA-2019:2258 https://access.redhat.com/errata/RHSA-2019:2258
- https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/
- https://support.f5.com/csp/article/K27228191?utm_source=f5support&%3Butm_medium=RSS
Provider assertions
3nodejs · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 667df9e2e2ebfd7a64c251a6446b0959fda84b633e3c9b9412215c8d08d3b235
- Ingested
- 09 Oct 2026, 16:22:04 UTC
- Source record
- Official CVE record