Data Handling in Node.js - CVE-2016-7099

 

Data Handling in Node.js - CVE-2016-7099

Published: October 10, 2016 / Updated: July 28, 2020


Vulnerability identifier: #VU32225
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-7099
CWE-ID: CWE-19
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to manipulate data.

The tls.checkServerIdentity function in Node.js 0.10.x before 0.10.47, 0.12.x before 0.12.16, 4.x before 4.6.0, and 6.x before 6.7.0 does not properly handle wildcards in name fields of X.509 certificates, which allows man-in-the-middle attackers to spoof servers via a crafted certificate.


Affected software

Node.js
nodejs (Alpine package)
nodejs-lts (Alpine package)
libuv
nodejs
Fedora

How to mitigate CVE-2016-7099

Install update from vendor's website.

Node.js - update to 0.10.47
nodejs (Alpine package) - update to 6.7.0-r0
nodejs-lts (Alpine package) - update to 4.6.0-r0
libuv - update to 1.9.1-1.el7
nodejs - addressed in versions 4.6.0-5.fc24, 6.7.0-107.el7, 6.7.0-107.fc25

External References

Related Security Bulletins