ID CVE-2018-7164
Summary Node.js versions 9.7.0 and later and 10.x are vulnerable and the severity is MEDIUM. A bug introduced in 9.7.0 increases the memory consumed when reading from the network into JavaScript using the net.Socket object directly as a stream. An attacker could use this cause a denial of service by sending tiny chunks of data in short succession. This vulnerability was restored by reverting to the prior behaviour.
References
Vulnerable Configurations
  • cpe:2.3:a:nodejs:node.js:10.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:nodejs:node.js:10.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:nodejs:node.js:10.0.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:10.0.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:10.0.0:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:10.0.0:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:10.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:nodejs:node.js:10.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:nodejs:node.js:10.1.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:10.1.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:10.1.0:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:10.1.0:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:10.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:nodejs:node.js:10.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:nodejs:node.js:10.2.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:10.2.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:10.2.0:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:10.2.0:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:10.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:nodejs:node.js:10.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:nodejs:node.js:10.2.1:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:10.2.1:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:10.2.1:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:10.2.1:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:10.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:nodejs:node.js:10.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:nodejs:node.js:10.3.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:10.3.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:10.3.0:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:10.3.0:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:10.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:nodejs:node.js:10.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:nodejs:node.js:10.4.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:10.4.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:10.4.0:*:*:*:lts:*:*:*
    cpe:2.3:a:nodejs:node.js:10.4.0:*:*:*:lts:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:nodejs:node.js:9.7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.7.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.7.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:nodejs:node.js:9.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.7.1:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.7.1:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:nodejs:node.js:9.8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.8.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.8.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:nodejs:node.js:9.9.0:*:*:*:*:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.9.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.9.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:nodejs:node.js:9.10.0:*:*:*:*:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.10.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.10.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:nodejs:node.js:9.10.1:*:*:*:*:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.10.1:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.10.1:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:nodejs:node.js:9.11.0:*:*:*:*:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.11.0:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.11.0:*:*:*:-:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.11.1:*:*:*:*:*:*:*
    cpe:2.3:a:nodejs:node.js:9.11.1:*:*:*:*:*:*:*
  • cpe:2.3:a:nodejs:node.js:9.11.1:*:*:*:-:*:*:*
    cpe:2.3:a:nodejs:node.js:9.11.1:*:*:*:-:*:*:*
CVSS
Base: 5.0 (as of 29-08-2022 - 20:21)
Impact:
Exploitability:
CWE CWE-400
CAPEC
  • XML Entity Expansion
    An attacker submits an XML document to a target application where the XML document uses nested entity expansion to produce an excessively large output XML. XML allows the definition of macro-like structures that can be used to simplify the creation of complex structures. However, this capability can be abused to create excessive demands on a processor's CPU and memory. A small number of nested expansions can result in an exponential growth in demands on memory.
  • Regular Expression Exponential Blowup
    An adversary may execute an attack on a program that uses a poor Regular Expression(Regex) implementation by choosing input that results in an extreme situation for the Regex. A typical extreme situation operates at exponential time compared to the input size. This is due to most implementations using a Nondeterministic Finite Automaton(NFA) state machine to be built by the Regex algorithm since NFA allows backtracking and thus more complex regular expressions. The algorithm builds a finite state machine and based on the input transitions through all the states until the end of the input is reached. NFA engines may evaluate each character in the input string multiple times during the backtracking. The algorithm tries each path through the NFA one by one until a match is found; the malicious input is crafted so every path is tried which results in a failure. Exploitation of the Regex results in programs hanging or taking a very long time to complete. These attacks may target various layers of the Internet due to regular expressions being used in validation.
  • XML Ping of the Death
    An attacker initiates a resource depletion attack where a large number of small XML messages are delivered at a sufficiently rapid rate to cause a denial of service or crash of the target. Transactions such as repetitive SOAP transactions can deplete resources faster than a simple flooding attack because of the additional resources used by the SOAP protocol and the resources necessary to process SOAP messages. The transactions used are immaterial as long as they cause resource utilization on the target. In other words, this is a normal flooding attack augmented by using messages that will require extra processing on the target.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:N/I:N/A:P
refmap via4
bid 104463
confirm https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/
gentoo GLSA-202003-48
Last major update 29-08-2022 - 20:21
Published 13-06-2018 - 16:29
Last modified 29-08-2022 - 20:21
Back to Top