CVE-2018-7161 json
All versions of Node.js 8.x, 9.x, and 10.x are vulnerable and the severity is HIGH.
published 2018-06-13 8 y ago modified 2026-10-08 31 d ago also EUVD-2018-18903
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.5%
- EPSS 7.5% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
All versions of Node.js 8.x, 9.x, and 10.x are vulnerable and the severity is HIGH. An attacker can cause a denial of service (DoS) by causing a node server providing an http2 server to crash. This can be accomplished by interacting with the http2 server in a manner that triggers a cleanup bug where objects are used in native code after they are no longer available. This has been addressed by updating the http2 implementation.
Patch / fix
- nodejs node.js 8.11.3, 9.11.2, 10.4.1
- nodejs Debian 14, Debian 13, Debian 12 10.15.0~dfsg-6
debian advisories DEBIAN-CVE-2018-7161
- nodejs Ubuntu 18.04 LTS 8.10.0~dfsg-2ubuntu0.2
ubuntu advisories UBUNTU-CVE-2018-7161
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
- rh-nodejs8-nodejs RHEL 3 SOFTWARE_COLLECTIONS 8.11.4-1.el7
- rh-nodejs8-npm RHEL 3 SOFTWARE_COLLECTIONS 5.6.0-8.11.4.1.el7
red hat advisories RHSA-2018:2949
- nodejs8 SLE Module for Web and Scripting 15 8.11.3-3.5.1
- firefox-atk SLES 11 SP4-LTSS 2.26.1-2.8.4
- mozilla-nss SLES 11 SP4-LTSS 3.45-38.9.3
- firefox-gtk3 SLES 11 SP4-LTSS 3.10.9-2.15.3
- mozilla-nspr SLES 11 SP4-LTSS 4.21-29.6.1
- firefox-cairo SLES 11 SP4-LTSS 1.15.10-2.13.4
- firefox-glib2 SLES 11 SP4-LTSS 2.54.3-2.14.7
- firefox-pango SLES 11 SP4-LTSS 1.40.14-2.7.4
suse advisories SUSE-SU-2019:14246-1SUSE-SU-2018:1918-1
- nodejs Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 8.11.3-r0
alpine advisories ALPINE-CVE-2018-7161
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
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-2018-7161 updated cvss 7.5
nodejs: denial of service (DoS) by causing a node server providing an http2 server to crash
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs8-nodejs 8.11.4-1.el7, rh-nodejs8-npm 5.6.0-8.11.4.1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-nodejs8-nodejs 8.11.4-1.el7, rh-nodejs8-npm 5.6.0-8.11.4.1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-nodejs8-nodejs 8.11.4-1.el7, rh-nodejs8-npm 5.6.0-8.11.4.1.el7 Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs8-nodejs 8.11.4-1.el7, rh-nodejs8-npm 5.6.0-8.11.4.1.el7fixed: vendor fix RHSA-2018:2949
-
Red Hat Enterprise Linux 8 npm, nodejs, nodejs-libs, nodejs-nodemon, nodejs-full-i18n, nodejs-packaging, +1 more Red Hat Mobile Application Platform 4 nodejs Red Hat OpenShift Application Runtimes nodejs Red Hat OpenShift Container Platform 3.10 logging-kibana, logging-auth-proxy Red Hat Software Collections rh-nodejs4-nodejs, rh-nodejs6-nodejsnot 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 SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 31 d ago
Exploit prediction
7.49% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 7.8 | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Affected products
- The Node.js Project Node.js
Classification
- Weakness
-
- CWE-20 Improper Input Validation
- Technology feeds
References
-
nodejs.org
/en/blog/vulnerability/june-2018-security-releases/
patch, vendor-advisory
-
security.gentoo.org
/glsa/202003-48
vendor-advisory, third-party-advisory
-
securityfocus.com
/bid/106363
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2018-7161
- NVD CVE-2018-7161
Fencer Vulns 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.