SB2018051406 - Multiple vulnerabilities in Node.js



SB2018051406 - Multiple vulnerabilities in Node.js

Published: May 14, 2018

Security Bulletin ID SB2018051406
Severity
High
Patch available
YES
Number of vulnerabilities 3
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 33% Medium 33% Low 33%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 3 secuirty vulnerabilities.


1) Resource exhaustion (CVE-ID: CVE-2018-7158)

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The weakness exists in the splitPathRe regular expression used in the core Node.js path module for POSIX path parsing functions due to resource exhaustion. A remote attacker can cause the service to crash by taking a non-trivial amount of time to parse the value against the RegEx.

2) HTTP response splitting (CVE-ID: CVE-2018-7159)

The vulnerability allows a remote attacker to write arbitrary files on the target system.

The weakness exists due to spaces in Content-Length HTTP headers from Node.js’s HTTP module entirely ignore spaces within the value, despite the HTTP specification not allowing spaces within the values. A remote attacker can confuse the script and write arbitrary files.

3) Improper input validation (CVE-ID: CVE-2018-7160)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists due to improper validation of the Host header, leaving the inspector vulnerable to a DNS rebind attack and bypass same-origin policy. A remote attacker can trick the victim into opening a specially crafted website and execute arbitrary code.

Successful exploitation of the vulnerability may result in system compromise.

Remediation

Install update from vendor's website.