CVE-2016-2047

UnknownEPSS 3.77%

Last modified

CVE-2016-2047 is a vulnerability of currently unknown severity. The ssl_verify_server_cert function in sql-common/client.c in MariaDB before 5.5.47, 10.0.x before 10.0.23, and 10.1.x before 10.1.10; Oracle MySQL 5.5.48 and earlier, 5.6.29 and earlier, and 5.7.11 and earlier; and Percona Server do not properly verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a "/CN=" string in a field in a certificate, as demonstrated by "/OU=/CN=bar.com/CN=foo.com.". EPSS estimates a 3.77% chance of exploitation in the next 30 days.

Description

The ssl_verify_server_cert function in sql-common/client.c in MariaDB before 5.5.47, 10.0.x before 10.0.23, and 10.1.x before 10.1.10; Oracle MySQL 5.5.48 and earlier, 5.6.29 and earlier, and 5.7.11 and earlier; and Percona Server do not properly verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a "/CN=" string in a field in a certificate, as demonstrated by "/OU=/CN=bar.com/CN=foo.com."

Metrics

EPSS Probability
3.77%

88.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
MariadbMariadb>= 5.5.20, < 5.5.47
MariadbMariadb>= 10.0.0, < 10.0.23
MariadbMariadb>= 10.1.0, < 10.1.10
OracleLinux7
OracleMysql>= 5.5.0, <= 5.5.48
OracleMysql>= 5.6.0, <= 5.6.29
OracleMysql>= 5.7.0, <= 5.7.11
OpensuseLeap42.1
RedhatEnterprise Linux6.0
RedhatEnterprise Linux7.0
DebianDebian Linux8.0
DebianDebian Linux9.0
CanonicalUbuntu Linux12.04
CanonicalUbuntu Linux14.04
CanonicalUbuntu Linux15.10
CanonicalUbuntu Linux16.04

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2016-2047?
The ssl_verify_server_cert function in sql-common/client.c in MariaDB before 5.5.47, 10.0.x before 10.0.23, and 10.1.x before 10.1.10; Oracle MySQL 5.5.48 and earlier, 5.6.29 and earlier, and 5.7.11 and earlier; and Percona Server do not properly verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a "/CN=" string in a field in a certificate, as demonstrated by "/OU=/CN=bar.com/CN=foo.com."
How severe is CVE-2016-2047?
Severity scoring for CVE-2016-2047 is pending analysis. The EPSS model estimates a 3.77% probability of exploitation in the next 30 days.
How do I fix CVE-2016-2047?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2016-2047?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST