Upstream information

CVE-2018-7159 at MITRE


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.

SUSE information

Overall state of this security issue: Running

This issue is currently rated as having low severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 5
Vector AV:N/AC:L/Au:N/C:N/I:P/A:N
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 5.3 5.3
Access Vector Network Network
Access Complexity Low Low
Privileges Required None None
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact None None
Integrity Impact Low None
Availability Impact None Low
SUSE Bugzilla entry: 1087453 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Enterprise Storage 4
  • nodejs4 >= 4.9.1-15.11.1
  • nodejs6 >= 6.14.1-11.12.1
SUSE Linux Enterprise Module for Web Scripting 12
  • nodejs4 >= 4.9.1-15.11.1
  • nodejs4-devel >= 4.9.1-15.11.1
  • nodejs4-docs >= 4.9.1-15.11.1
  • nodejs6 >= 6.14.1-11.12.1
  • nodejs6-devel >= 6.14.1-11.12.1
  • nodejs6-docs >= 6.14.1-11.12.1
  • npm4 >= 4.9.1-15.11.1
  • npm6 >= 6.14.1-11.12.1
SUSE Linux Enterprise Module for Web Scripting 15
  • nodejs8 >= 8.11.1-1.19
  • nodejs8-devel >= 8.11.1-1.19
  • nodejs8-docs >= 8.11.1-1.19
  • npm8 >= 8.11.1-1.19
SUSE Linux Enterprise Module for Web Scripting 15 GA nodejs8
SUSE OpenStack Cloud 7
  • nodejs6 >= 6.14.1-11.12.1
openSUSE Leap 42.3
  • nodejs4 >= 4.9.1-14.1
  • nodejs4-debuginfo >= 4.9.1-14.1
  • nodejs4-debugsource >= 4.9.1-14.1
  • nodejs4-devel >= 4.9.1-14.1
  • nodejs4-docs >= 4.9.1-14.1
  • nodejs6 >= 6.14.1-9.2
  • nodejs6-debuginfo >= 6.14.1-9.2
  • nodejs6-debugsource >= 6.14.1-9.2
  • nodejs6-devel >= 6.14.1-9.2
  • nodejs6-docs >= 6.14.1-9.2
  • npm4 >= 4.9.1-14.1
  • npm6 >= 6.14.1-9.2

Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SUSE Linux Enterprise Module for Web and Scripting 12 nodejs4 Released
SUSE Linux Enterprise Module for Web and Scripting 12 nodejs6 Released
SUSE Openstack Cloud 7 nodejs6 Released
SUSE Storage 4 nodejs4 Released
SUSE Storage 4 nodejs6 Released
SUSE Studio Onsite 1.3 nodejs Affected