Skip to content
Fencer Intel
high 8.1

CVE-2020-8174 json

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

published 6y ago modified 2mo ago also BIT-node-2020-8174 , BIT-node-min-2020-8174 , EUVD-2020-29058

cvss
8.1
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
7.6%
EPSS 7.6% chance of exploitation in 30 days, percentile 94%
public exploits
0
none known

Summary

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

Patch / fix

  • bitnami node 10.21.0, 12.18.0, 14.4.0
  • bitnami node-min 10.21.0, 12.18.0, 14.4.0
  • nodejs node.js 10.21.0, 12.18.0, 14.4.0
  • oracle blockchain_platform 21.1.2
  • nodejs Debian 14, Debian 13, Debian 12 10.21.0~dfsg-1

debian advisories DEBIAN-CVE-2020-8174

  • nodejs Ubuntu 20.04 LTS 10.19.0~dfsg-3ubuntu1.1
  • nodejs Ubuntu Pro 18.04 LTS 8.10.0~dfsg-2ubuntu0.4+esm2

ubuntu advisories UBUNTU-CVE-2020-8174

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • nodejs-nodemon RHEL 8, RHEL 8.1 EUS 1.18.3-1.module+el8.1.0+3369+37ae6a45
  • nodejs-packaging RHEL 8, RHEL 8.1 EUS 17-3.module+el8.1.0+3369+37ae6a45
  • npm RHEL 8 1:6.14.4-1.10.21.0.3.module+el8.2.0+7071+d2377ea3
  • nodejs RHEL 8 1:10.21.0-3.module+el8.2.0+7071+d2377ea3
  • nodejs-nodemon RHEL 8, RHEL 8.1 EUS, RHEL 8.0 E4S 1.18.3-1.module+el8+2632+6c5111ed
  • nodejs-full-i18n RHEL 8 1:10.21.0-3.module+el8.2.0+7071+d2377ea3
  • nodejs-packaging RHEL 8, RHEL 8.1 EUS, RHEL 8.0 E4S 17-3.module+el8+2873+aa7dfd9a
  • rh-nodejs10-nodejs RHEL 3 SOFTWARE_COLLECTIONS 10.21.0-3.el7

red hat advisories RHSA-2020:2847RHSA-2020:2848RHSA-2020:3042RHSA-2020:3084RHSA-2020:2895RHSA-2020:2852

  • nodejs8 SLE Module for Web and Scripting 15 SP2 8.17.0-10.3.1
  • nodejs6 SLE Module for Web and Scripting 12, OpenStack Cloud Crowbar 9, OpenStack Cloud Crowbar 8 +1 more 6.17.1-11.37.1
  • nodejs12 SLE Module for Web and Scripting 12 12.18.0-1.14.1
  • nodejs8 SLES for SAP 15, SLES 15-LTSS, SLE Module for Web and Scripting 15 SP1 +2 more 8.17.0-3.32.1
  • nodejs10 SLE Module for Web and Scripting 12 10.21.0-1.24.1
  • nodejs10 SLES for SAP 15, SLES 15-LTSS, SLE Module for Web and Scripting 15 SP2 +3 more 10.21.0-1.21.1

suse advisories SUSE-SU-2020:2800-1SUSE-SU-2020:1623-1SUSE-SU-2020:1606-1SUSE-SU-2020:1576-1SUSE-SU-2020:1575-1SUSE-SU-2020:1568-1

  • nodejs14 openSUSE Tumbleweed 14.17.5-1.2
  • nodejs8 openSUSE Leap 15.1 8.17.0-lp151.2.15.1

opensuse advisories openSUSE-SU-2024:11096-1openSUSE-SU-2020:0802-1

  • nodejs-nodemon AlmaLinux 8 1.18.3-1.module_el8.3.0+2023+d2377ea3
  • nodejs-nodemon AlmaLinux 8 1.18.3-1.module_el8.3.0+2047+b07ac28e
  • nodejs-packaging AlmaLinux 8 17-3.module_el8.4.0+2224+b07ac28e
  • nodejs-packaging AlmaLinux 8 17-3.module_el8.4.0+2521+c668cc9f
  • nodejs-packaging AlmaLinux 8 17-3.module_el8.3.0+2023+d2377ea3

almalinux advisories ALSA-2020:2852ALSA-2020:2848

  • nodejs-nodemon Rocky Linux 8 1.18.3-1.module+el8.3.0+101+f84c7154
  • nodejs-packaging Rocky Linux 8 17-3.module+el8.3.0+101+f84c7154

rocky linux advisories RLSA-2020:2852RLSA-2020:2848

  • nodejs Alpine 3.11 12.20.1-r0
  • nodejs Alpine 3.12 12.18.3-r0
  • nodejs Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 12.18.0-r0
  • nodejs-current Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 14.4.0-r0

alpine advisories ALPINE-CVE-2020-8174

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2020-8174 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-8174 updated cvss 8.1

nodejs: memory corruption in napi_get_value_string_* functions

  • Red Hat Quay 3 nodejs
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux AppStream (v. 8) nodejs 10.21.0-3.module+el8.2.0+7071+d2377ea3, nodejs 12.18.2-1.module+el8.2.0+7233+61d664c1, nodejs-packaging 17-3.module+el8+2873+aa7dfd9a, nodejs-nodemon 1.18.3-1.module+el8+2632+6c5111ed, nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45, npm 6.14.4-1.10.21.0.3.module+el8.2.0+7071+d2377ea3, +4 more
    fixed: vendor fix RHSA-2020:2848
  • Red Hat Enterprise Linux AppStream E4S (v. 8.0) nodejs 10.21.0-3.module+el8.0.0+7067+054302d1, nodejs-packaging 17-3.module+el8+2873+aa7dfd9a, nodejs-nodemon 1.18.3-1.module+el8+2632+6c5111ed, npm 6.14.4-1.10.21.0.3.module+el8.0.0+7067+054302d1, nodejs-full-i18n 10.21.0-3.module+el8.0.0+7067+054302d1
    fixed: vendor fix RHSA-2020:3042
  • Red Hat Enterprise Linux AppStream EUS (v. 8.1) nodejs 10.21.0-3.module+el8.1.0+7070+fe09e702, nodejs 12.18.2-1.module+el8.1.0+7232+f8b5ede5, nodejs-packaging 17-3.module+el8+2873+aa7dfd9a, nodejs-nodemon 1.18.3-1.module+el8+2632+6c5111ed, nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45, npm 6.14.4-1.10.21.0.3.module+el8.1.0+7070+fe09e702, +4 more
    fixed: vendor fix RHSA-2020:2849
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs10-nodejs 10.21.0-3.el7, rh-nodejs12-nodejs 12.18.2-1.el7, rh-nodejs10-npm 6.14.4-10.21.0.3.el7, rh-nodejs12-npm 6.14.5-12.18.2.1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-nodejs10-nodejs 10.21.0-3.el7, rh-nodejs12-nodejs 12.18.2-1.el7, rh-nodejs10-npm 6.14.4-10.21.0.3.el7, rh-nodejs12-npm 6.14.5-12.18.2.1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-nodejs10-nodejs 10.21.0-3.el7, rh-nodejs12-nodejs 12.18.2-1.el7, rh-nodejs10-npm 6.14.4-10.21.0.3.el7, rh-nodejs12-npm 6.14.5-12.18.2.1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs10-nodejs 10.21.0-3.el7, rh-nodejs12-nodejs 12.18.2-1.el7, rh-nodejs10-npm 6.14.4-10.21.0.3.el7, rh-nodejs12-npm 6.14.5-12.18.2.1.el7
    fixed: vendor fix RHSA-2020:3084
  • Red Hat Enterprise Linux 8 npm, nodejs, nodejs-libs, nodejs-nodemon, nodejs-full-i18n, nodejs-packaging, +1 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-22-111-03 updated cvss 8.1

Hitachi Energy MicroSCADA Pro/X SYS600

  • Hitachi Energy SYS600 <= 10.1.1, <=9.4 FP1, >= 10.2.1, >= 10.0.0, <= 10.2.1
    affected: mitigation “For more information see Hitachi Energy advisory 8DBD000075” search.abb.com

From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf

cisa ICSA-22-090-02 updated cvss 5.9

Hitachi Energy e-mesh EMS

  • Hitachi Energy e-mesh EMS 1
    affected: mitigation “Hitachi Energy recommends users update to e-mesh: EMS 1.0.1 or later.” search.abb.com

From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf

Exploit prediction

7.65% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • hackerone.com https://hackerone.com/reports/784186 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C
OSV 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
bitnami node
<10.21.0
>=12.0.0, <12.18.0
>=14.0.0, <14.4.0
10.21.0
12.18.0
14.4.0
bitnami node-min
<10.21.0
>=12.0.0, <12.18.0
>=14.0.0, <14.4.0
10.21.0
12.18.0
14.4.0

Affected products

  • n/a https://github.com/nodejs/node

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-191 Integer Underflow (Wrap or Wraparound)
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.