First published: Tue Jan 26 2016(Updated: )
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."
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/mysql | <5.5.48 | 5.5.48 |
redhat/mysql | <5.6.29 | 5.6.29 |
redhat/mysql | <5.7.11 | 5.7.11 |
redhat/mariadb | <5.5.47 | 5.5.47 |
redhat/mariadb | <10.1.10 | 10.1.10 |
redhat/mariadb | <10.0.23 | 10.0.23 |
Mariadb Mariadb | >=5.5.20<5.5.47 | |
Mariadb Mariadb | >=10.0.0<10.0.23 | |
Mariadb Mariadb | >=10.1.0<10.1.10 | |
Oracle Linux | =7 | |
Oracle MySQL | >=5.5.0<=5.5.48 | |
Oracle MySQL | >=5.6.0<=5.6.29 | |
Oracle MySQL | >=5.7.0<=5.7.11 | |
openSUSE Leap | =42.1 | |
Redhat Enterprise Linux | =6.0 | |
Redhat Enterprise Linux | =7.0 | |
Debian Debian Linux | =8.0 | |
Debian Debian Linux | =9.0 | |
Canonical Ubuntu Linux | =12.04 | |
Canonical Ubuntu Linux | =14.04 | |
Canonical Ubuntu Linux | =15.10 | |
Canonical Ubuntu Linux | =16.04 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.