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."
2016-01-27T20:59:05.610
2025-04-12T10:46:40.837
Deferred
CVSSv3.0: 5.9 (MEDIUM)
AV:N/AC:M/Au:N/C:N/I:P/A:N
8.6
2.9
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | mariadb | mariadb | < 5.5.47 | Yes |
Application | mariadb | mariadb | < 10.0.23 | Yes |
Application | mariadb | mariadb | < 10.1.10 | Yes |
Operating System | oracle | linux | 7 | Yes |
Application | oracle | mysql | ≤ 5.5.48 | Yes |
Application | oracle | mysql | ≤ 5.6.29 | Yes |
Application | oracle | mysql | ≤ 5.7.11 | Yes |
Operating System | opensuse | leap | 42.1 | Yes |
Operating System | redhat | enterprise_linux | 6.0 | Yes |
Operating System | redhat | enterprise_linux | 7.0 | Yes |
Operating System | debian | debian_linux | 8.0 | Yes |
Operating System | debian | debian_linux | 9.0 | Yes |
Operating System | canonical | ubuntu_linux | 12.04 | Yes |
Operating System | canonical | ubuntu_linux | 14.04 | Yes |
Operating System | canonical | ubuntu_linux | 15.10 | Yes |
Operating System | canonical | ubuntu_linux | 16.04 | Yes |