Data Handling in Node.js - CVE-2016-7099
Published: October 10, 2016 / Updated: July 28, 2020
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
nodejs (Alpine package)
nodejs-lts (Alpine package)
libuv
nodejs
Fedora
How to mitigate CVE-2016-7099
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
- http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00013.html
- http://rhn.redhat.com/errata/RHSA-2017-0002.html
- http://www.securityfocus.com/bid/93191
- https://github.com/nodejs/node/commit/743f0c916469f3129dfae406fa104dc46782e20b
- https://nodejs.org/en/blog/vulnerability/september-2016-security-releases/