CVE-2016-2047
published 2016-01-27CVE-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…
PriorityP434medium5.9CVSS 3.0
AVNACHPRNUINSUCNIHAN
EPSS
3.74%
88.6th percentile
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."
Affected
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| mariadb | mariadb | >= 10.0.0 < 10.0.23 | 10.0.23 |
| mariadb | mariadb | >= 10.1.0 < 10.1.10 | 10.1.10 |
| mariadb | mariadb | >= 5.5.20 < 5.5.47 | 5.5.47 |
| opensuse | leap | — | — |
| oracle | linux | — | — |
| oracle | mysql | 5.5.0 – 5.5.48 | — |
| oracle | mysql | 5.6.0 – 5.6.29 | — |
| oracle | mysql | 5.7.0 – 5.7.11 | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
CVSS provenance
nvdv3.05.9MEDIUMCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv5.9MEDIUM
vendor_redhat5.9MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-gw5g-54qg-7583: The ssl_verify_server_cert function in sql-common/client
ghsa_unreviewed·2022-05-13
CVE-2016-2047 [MEDIUM] GHSA-gw5g-54qg-7583: The ssl_verify_server_cert function in sql-common/client
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."
OSV
CVE-2016-2047: The ssl_verify_server_cert function in sql-common/client
osv·2016-01-27·CVSS 5.9
CVE-2016-2047 [MEDIUM] CVE-2016-2047: The ssl_verify_server_cert function in sql-common/client
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."
Ubuntu
MySQL vulnerabilities
vendor_ubuntu·2016-04-25
CVE-2016-0639 MySQL vulnerabilities
Title: MySQL vulnerabilities
Summary: Several security issues were fixed in MySQL.
Multiple security issues were discovered in MySQL and this update includes
new upstream MySQL versions to fix these issues.
MySQL has been updated to 5.7.12 in Ubuntu 16.04 LTS.
In addition to security fixes, the updated packages contain bug fixes,
new features, and possibly incompatible changes.
Please see the following for more information:
http://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-12.html
http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
MySQL vulnerabilities
vendor_ubuntu·2016-04-21
CVE-2016-0639 MySQL vulnerabilities
Title: MySQL vulnerabilities
Summary: Several security issues were fixed in MySQL.
Multiple security issues were discovered in MySQL and this update includes
new upstream MySQL versions to fix these issues.
MySQL has been updated to 5.5.49 in Ubuntu 12.04 LTS and Ubuntu 14.04 LTS.
Ubuntu 15.10 has been updated to MySQL 5.6.30.
In addition to security fixes, the updated packages contain bug fixes,
new features, and possibly incompatible changes.
Please see the following for more information:
http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-48.html
http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-49.html
http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-29.html
http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-30.html
http://www.oracle.com/technetwork/security-
Red Hat
mysql: ssl-validate-cert incorrect hostname check
vendor_redhat·2015-11-30·CVSS 5.9
CVE-2016-2047 [MEDIUM] CWE-295 mysql: ssl-validate-cert incorrect hostname check
mysql: ssl-validate-cert incorrect hostname check
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."
It was found that the MariaDB client library did not properly check host names against server identities noted in the X.509 certificates when establishing secure connections using TLS/SSL. A man-in-the-m
No detection rules found.
No public exploits indexed.
http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00035.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-05/msg00053.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-06/msg00033.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-06/msg00034.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-06/msg00051.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-06/msg00053.htmlhttp://rhn.redhat.com/errata/RHSA-2016-0534.htmlhttp://rhn.redhat.com/errata/RHSA-2016-0705.htmlhttp://rhn.redhat.com/errata/RHSA-2016-1480.htmlhttp://rhn.redhat.com/errata/RHSA-2016-1481.htmlhttp://www.debian.org/security/2016/dsa-3453http://www.debian.org/security/2016/dsa-3557http://www.openwall.com/lists/oss-security/2016/01/26/3http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.htmlhttp://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.htmlhttp://www.securityfocus.com/bid/81810http://www.securitytracker.com/id/1035606http://www.ubuntu.com/usn/USN-2953-1http://www.ubuntu.com/usn/USN-2954-1https://access.redhat.com/errata/RHSA-2016:1132https://mariadb.atlassian.net/browse/MDEV-9212https://mariadb.com/kb/en/mariadb/mariadb-10110-release-notes/https://mariadb.com/kb/en/mariadb/mariadb-5547-release-notes/https://mariadb.com/kb/en/mdb-10023-rn/http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00035.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-05/msg00053.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-06/msg00033.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-06/msg00034.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-06/msg00051.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-06/msg00053.htmlhttp://rhn.redhat.com/errata/RHSA-2016-0534.htmlhttp://rhn.redhat.com/errata/RHSA-2016-0705.htmlhttp://rhn.redhat.com/errata/RHSA-2016-1480.htmlhttp://rhn.redhat.com/errata/RHSA-2016-1481.htmlhttp://www.debian.org/security/2016/dsa-3453http://www.debian.org/security/2016/dsa-3557http://www.openwall.com/lists/oss-security/2016/01/26/3http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.htmlhttp://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.htmlhttp://www.securityfocus.com/bid/81810http://www.securitytracker.com/id/1035606http://www.ubuntu.com/usn/USN-2953-1http://www.ubuntu.com/usn/USN-2954-1https://access.redhat.com/errata/RHSA-2016:1132https://mariadb.atlassian.net/browse/MDEV-9212https://mariadb.com/kb/en/mariadb/mariadb-10110-release-notes/https://mariadb.com/kb/en/mariadb/mariadb-5547-release-notes/https://mariadb.com/kb/en/mdb-10023-rn/
2016-01-27
Published