cve.bz

CVE-2020-8174 Integer Underflow (Wrap or Wraparound)

8.1 highExploit referenceEPSS 7.6%Fix available

High (8.1). EPSS 7.6% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
7.6% (unchanged from 7.6% a week ago; 7.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-191 Integer Underflow (Wrap or Wraparound)
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-8174 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-8174?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-8174?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-8174 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
nodejs:node.jsbefore 10.21.0
nodejs:node.jsfrom 12.0.0 before 12.18.0
nodejs:node.jsfrom 14.0.0 before 14.4.0
oracle:banking_extensibility_workbench14.3.0
oracle:banking_extensibility_workbench14.4.0
oracle:blockchain_platformbefore 21.1.2
oracle:mysql_clusterthrough 7.3.30
oracle:mysql_clusterfrom 7.4.0 through 7.4.29
oracle:mysql_clusterfrom 7.5.0 through 7.5.19
oracle:mysql_clusterfrom 7.6.0 through 7.6.15
oracle:mysql_clusterfrom 8.0.0 through 8.0.21
oracle:retail_xstore_point_of_service16.0.6
oracle:retail_xstore_point_of_service17.0.4
oracle:retail_xstore_point_of_service18.0.3
oracle:retail_xstore_point_of_service19.0.2
oracle:retail_xstore_point_of_service20.0.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10nodejs10.21.0~dfsg-1~deb10u1DSA-4696-1
Debian12, 13, 14nodejs10.21.0~dfsg-1DEBIAN-CVE-2020-8174
Ubuntu20.04:LTSnodejs10.19.0~dfsg-3ubuntu1.1UBUNTU-CVE-2020-8174 USN-6380-1
UbuntuPro:16.04:LTSnodejs4.2.6~dfsg-1ubuntu4.2+esm2USN-6380-1
UbuntuPro:18.04:LTSnodejs8.10.0~dfsg-2ubuntu0.4+esm2UBUNTU-CVE-2020-8174 USN-6380-1
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:10.21.0-3.module+el8.2.0+7071+d2377ea3RHSA-2020:2848
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:12.18.2-1.module+el8.2.0+7233+61d664c1RHSA-2020:2852
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:1.18.3-1.module+el8+2632+6c5111edRHSA-2020:2848
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:1.18.3-1.module+el8.1.0+3369+37ae6a45RHSA-2020:2852
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:17-3.module+el8+2873+aa7dfd9aRHSA-2020:2848
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:17-3.module+el8.1.0+3369+37ae6a45RHSA-2020:2852
Red Hatenterprise_linux:8::appstreamnpm1:6.14.4-1.10.21.0.3.module+el8.2.0+7071+d2377ea3RHSA-2020:2848
Red Hatenterprise_linux:8::appstreamnpm1:6.14.5-1.12.18.2.1.module+el8.2.0+7233+61d664c1RHSA-2020:2852
Red Hatrhel_e4s:8.0::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:10.21.0-3.module+el8.0.0+7067+054302d1RHSA-2020:3042
Red Hatrhel_e4s:8.0::appstreamnodejs-nodemon0:1.18.3-1.module+el8+2632+6c5111edRHSA-2020:3042
Red Hatrhel_e4s:8.0::appstreamnodejs-packaging0:17-3.module+el8+2873+aa7dfd9aRHSA-2020:3042
Red Hatrhel_e4s:8.0::appstreamnpm1:6.14.4-1.10.21.0.3.module+el8.0.0+7067+054302d1RHSA-2020:3042
12 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Web and Scripting 15 SP1 and 3 morenodejs1010.21.0-1.21.1SUSE-SU-2020:1568-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Web and Scripting 15 SP1 and 2 morenodejs88.17.0-3.32.1SUSE-SU-2020:1576-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1010.21.0-1.24.1SUSE-SU-2020:1575-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1212.18.0-1.14.1SUSE-SU-2020:1606-1
SUSELinux Enterprise Module for Web and Scripting 12, OpenStack Cloud 7, OpenStack Cloud Crowbar 8 and 1 morenodejs66.17.1-11.37.1SUSE-SU-2020:1623-1
SUSELinux Enterprise Module for Web and Scripting 15 SP2nodejs88.17.0-10.3.1SUSE-SU-2020:2800-1
openSUSELeap 15.1nodejs88.17.0-lp151.2.15.1openSUSE-SU-2020:0802-1
openSUSETumbleweednodejs1414.17.5-1.2openSUSE-SU-2024:11096-1
AlmaLinux8nodejs-nodemon1.18.3-1.module_el8.3.0+2023+d2377ea3ALSA-2020:2848 ALSA-2020:2852
AlmaLinux8nodejs-nodemon1.18.3-1.module_el8.3.0+2047+b07ac28eALSA-2020:2848 ALSA-2020:2852
AlmaLinux8nodejs-packaging17-3.module_el8.3.0+2023+d2377ea3ALSA-2020:2848 ALSA-2020:2852
AlmaLinux8nodejs-packaging17-3.module_el8.4.0+2224+b07ac28eALSA-2020:2848 ALSA-2020:2852
AlmaLinux8nodejs-packaging17-3.module_el8.4.0+2521+c668cc9fALSA-2020:2848 ALSA-2020:2852
Rocky Linux8nodejs-nodemon0:1.18.3-1.module+el8.3.0+101+f84c7154RLSA-2020:2848 RLSA-2020:2852
Rocky Linux8nodejs-packaging0:17-3.module+el8.3.0+101+f84c7154RLSA-2020:2848 RLSA-2020:2852
Alpinev3.11nodejs12.20.1-r0ALPINE-CVE-2020-8174
Alpinev3.12nodejs12.18.3-r0ALPINE-CVE-2020-8174
Alpinev3.12, v3.13, v3.14 and 10 morenodejs-current14.4.0-r0ALPINE-CVE-2020-8174
Alpinev3.13, v3.14, v3.15 and 9 morenodejs12.18.0-r0ALPINE-CVE-2020-8174

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

NodeJS is a build time dependency of Red Hat Quay and is not used at runtime. Therefore this issue will not fixed in Quay 3.3.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8nodejs:10-8020020200617141353.4cda2c84Fixed 2020-07-07RHSA-2020:2848
Red Hat Enterprise Linux 8nodejs:12-8020020200630155331.4cda2c84Fixed 2020-07-07RHSA-2020:2852
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutionsnodejs:10-8000020200617115915.f8e95b4eFixed 2020-07-21RHSA-2020:3042
Red Hat Enterprise Linux 8.1 Extended Update Supportnodejs:12-8010020200630154708.c27ad7f8Fixed 2020-07-07RHSA-2020:2847
Red Hat Enterprise Linux 8.1 Extended Update Supportnodejs:10-8010020200617134056.c27ad7f8Fixed 2020-07-07RHSA-2020:2849
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs12-nodejs-0:12.18.2-1.el7Fixed 2020-07-13RHSA-2020:2895
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs10-nodejs-0:10.21.0-3.el7Fixed 2020-07-21RHSA-2020:3084
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-nodejs12-nodejs-0:12.18.2-1.el7Fixed 2020-07-13RHSA-2020:2895
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-nodejs10-nodejs-0:10.21.0-3.el7Fixed 2020-07-21RHSA-2020:3084
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-nodejs12-nodejs-0:12.18.2-1.el7Fixed 2020-07-13RHSA-2020:2895
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-nodejs10-nodejs-0:10.21.0-3.el7Fixed 2020-07-21RHSA-2020:3084
Red Hat Enterprise Linux 8nodejs:14/nodejsNot affected
Red Hat Quay 3nodejsWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-8174.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-22-111-03Hitachi Energy MicroSCADA Pro/X SYS6002022-04-21EnergySYS600: Versions 10.1.1 and priornone listed
ICSA-22-090-02Hitachi Energy e-mesh EMS2022-03-31Energye-mesh EMS: Version 1.0none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON