CVE-2020-8174
nodejs: memory corruption in napi_get_value_string_* functions
Overview
Description
napi_get_value_string_*() allows various kinds of memory corruption in node < 10.21.0, 12.18.0, and < 14.4.0.
Source: OX vulnerability database
Severity
8.1 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-119, CWE-191
Affected packages · 2
Operating systems · 52 fixes
Oracle Linux 1 release · 4 packages
fixed 4
nodejs-nodemon
nodejs-packaging
nodejs
npm
| Release | Package | Fixed in |
|---|---|---|
| 8 | nodejs-nodemon | 1.18.3-1.module+el8.1.0+5393+aaf413e3 |
| 8 | nodejs-packaging | 17-3.module+el8.1.0+5393+aaf413e3 |
| 8 | nodejs +3 | 1:12.18.2-1.module+el8.2.0+7636+541a18d0 |
| 8 | npm | 1:6.14.5-1.12.18.2.1.module+el8.2.0+7636+541a18d0 |
Red Hat 3 releases · 8 packages
fixed 24
rh-nodejs10-nodejs
rh-nodejs12-nodejs
rh-nodejs10-npm
rh-nodejs12-npm
nodejs-nodemon
nodejs-packaging
+2
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | rh-nodejs10-nodejs +2 | 0:10.21.0-3.el7 | RHSA-2020:3084 |
| 7 | rh-nodejs12-nodejs +2 | 0:12.18.2-1.el7 | RHSA-2020:2895 |
| 7 | rh-nodejs10-npm | 0:6.14.4-10.21.0.3.el7 | RHSA-2020:3084 |
| 7 | rh-nodejs12-npm | 0:6.14.5-12.18.2.1.el7 | RHSA-2020:2895 |
| 8 (nodejs:10) | nodejs-nodemon | 0:1.18.3-1.module+el8+2632+6c5111ed | RHSA-2020:2848 |
| 8 (nodejs:10) | nodejs-nodemon | 0:1.18.3-1.module+el8+2632+6c5111ed | RHSA-2020:2849 |
18 more rows
alma 1 release · 2 packages
fixed 2
nodejs-nodemon
nodejs-packaging
| Release | Package | Fixed in |
|---|---|---|
| 8 (nodejs:10) | nodejs-nodemon | 1.18.3-1.module_el8.3.0+2023+d2377ea3 |
| 8 (nodejs:10) | nodejs-packaging | 17-3.module_el8.3.0+2023+d2377ea3 |
alpine 4 releases · 2 packages
fixed 8
nodejs
nodejs-current
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | nodejs | 12.18.0-r0 |
| 3.22 | nodejs-current | 14.4.0-r0 |
| 3.23 | nodejs | 12.18.0-r0 |
| 3.23 | nodejs-current | 14.4.0-r0 |
| 3.24 | nodejs | 12.18.0-r0 |
| 3.24 | nodejs-current | 14.4.0-r0 |
2 more rows
debian 6 releases · 1 package
fixed 5
affected 1
nodejs
| Release | Package | Fixed in |
|---|---|---|
| 10 | nodejs | 10.21.0~dfsg-1~deb10u1 |
| 11 | nodejs | 10.21.0~dfsg-1 |
| 12 | nodejs | 10.21.0~dfsg-1 |
| 13 | nodejs | 10.21.0~dfsg-1 |
| 14 | nodejs | 10.21.0~dfsg-1 |
| 9 | nodejs | affected |
echo 1 release · 1 package
fixed 1
nodejs
| Release | Package | Fixed in |
|---|---|---|
| nodejs | 10.21.0~dfsg-1 |
openSUSE 1 release · 1 package
fixed 1
nodejs14
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | nodejs14 +3 | 14.17.5-1.2 | openSUSE-SU-2024:11096-1 |
rocky 1 release · 2 packages
fixed 2
nodejs-nodemon
nodejs-packaging
| Release | Package | Fixed in |
|---|---|---|
| 8 (nodejs:10) | nodejs-nodemon | 1.18.3-1.module+el8.3.0+101+f84c7154 |
| 8 (nodejs:10) | nodejs-packaging | 17-3.module+el8.3.0+101+f84c7154 |
root.io debian 1 release · 1 package
fixed 1
rootio-nodejs
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-nodejs | 10.21.0~dfsg-1 |
ubuntu 3 releases · 1 package
fixed 3
nodejs
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | nodejs | 8.10.0~dfsg-2ubuntu0.4+esm2 |
| 20.04 | nodejs | 10.19.0~dfsg-3ubuntu1.1 |
| 20.04-ESM | nodejs | 10.19.0~dfsg-3ubuntu1.1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-8174
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1813344
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1844929
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1845247
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1845256
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11080
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7598
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8172
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8174
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2020-2852.html
Show all 25 references
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2020:2852
- github.com https://github.com/nodejs/node/commit/656260b4b65fec3b10f6da3fdc9f11fb941aafb5
- hackerone.com https://hackerone.com/reports/784186
- linux.oracle.com https://linux.oracle.com/cve/CVE-2020-8174.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2020-2852.html
- nodejs.org https://nodejs.org/en/blog/vulnerability/june-2020-security-releases/#napi_get_value_string_-allows-various-kinds-of-memory-corruption-high-cve-2020-8174
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-8174
- security.gentoo.org https://security.gentoo.org/glsa/202101-07
- security.netapp.com https://security.netapp.com/advisory/ntap-20201023-0003/
- ubuntu.com https://ubuntu.com/security/notices/USN-6380-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-8174
- www.oracle.com https://www.oracle.com//security-alerts/cpujul2021.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com https://www.oracle.com/security-alerts/cpujan2021.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuoct2020.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.