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
8.1 MODERATE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM

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)
Red Hat Enterprise Linux 8 RedHat nodejs:10-8020020200617141353.4cda2c84 *
Red Hat Enterprise Linux 8 RedHat nodejs:12-8020020200630155331.4cda2c84 *
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions RedHat nodejs:10-8000020200617115915.f8e95b4e *
Red Hat Enterprise Linux 8.1 Extended Update Support RedHat nodejs:12-8010020200630154708.c27ad7f8 *
Red Hat Enterprise Linux 8.1 Extended Update Support RedHat nodejs:10-8010020200617134056.c27ad7f8 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-nodejs12-nodejs-0:12.18.2-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-nodejs10-nodejs-0:10.21.0-3.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS RedHat rh-nodejs12-nodejs-0:12.18.2-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS RedHat rh-nodejs10-nodejs-0:10.21.0-3.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS RedHat rh-nodejs12-nodejs-0:12.18.2-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS RedHat rh-nodejs10-nodejs-0:10.21.0-3.el7 *
Nodejs Ubuntu bionic *
Nodejs Ubuntu eoan *
Nodejs Ubuntu esm-apps/bionic *
Nodejs Ubuntu focal *
Nodejs Ubuntu groovy *
Nodejs Ubuntu hirsute *
Nodejs Ubuntu impish *
Nodejs Ubuntu kinetic *
Nodejs Ubuntu trusty *
Nodejs Ubuntu xenial *

References