CVE Vulnerabilities

CVE-2020-8174

Integer Underflow (Wrap or Wraparound)

Published: Jul 24, 2020 | Modified: May 12, 2022
CVSS 3.x
8.1
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
9.3 HIGH
AV:N/AC:M/Au:N/C:C/I:C/A:C
RedHat/V2
RedHat/V3
Ubuntu

napi_get_value_string_*() allows various kinds of memory corruption in node < 10.21.0, 12.18.0, and < 14.4.0.

Weakness

The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.

Affected Software

Name Vendor Start Version End Version
Node.js Nodejs * 10.21.0 (excluding)
Node.js Nodejs 12.0.0 (including) 12.18.0 (excluding)
Node.js Nodejs 14.0.0 (including) 14.4.0 (excluding)

References