{"id":"CVE-2016-2047","state":"PUBLISHED","title":"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 e","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.\"","publishedAt":"2016-01-27T20:00:00.000Z","updatedAt":"2024-08-05T23:17:50.187Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00034.html","http://rhn.redhat.com/errata/RHSA-2016-1481.html","https://access.redhat.com/errata/RHSA-2016:1132","http://rhn.redhat.com/errata/RHSA-2016-0534.html","http://www.securitytracker.com/id/1035606","http://www.openwall.com/lists/oss-security/2016/01/26/3","http://www.ubuntu.com/usn/USN-2953-1","http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00053.html","http://www.ubuntu.com/usn/USN-2954-1","http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00033.html","http://rhn.redhat.com/errata/RHSA-2016-1480.html","http://www.securityfocus.com/bid/81810","http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00051.html","https://mariadb.atlassian.net/browse/MDEV-9212","https://mariadb.com/kb/en/mdb-10023-rn/","http://www.debian.org/security/2016/dsa-3557","http://www.debian.org/security/2016/dsa-3453","https://mariadb.com/kb/en/mariadb/mariadb-5547-release-notes/","http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html","http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00053.html","https://mariadb.com/kb/en/mariadb/mariadb-10110-release-notes/","http://rhn.redhat.com/errata/RHSA-2016-0705.html","http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00035.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:38.095Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/2xxx/CVE-2016-2047.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-2047","state":"PUBLISHED","datePublished":"2016-01-27T20:00:00.000Z","dateUpdated":"2024-08-05T23:17:50.187Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2016-01-22T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00034.html","name":"SUSE-SU-2016:1620","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1481.html","name":"RHSA-2016:1481","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2016:1132","name":"RHSA-2016:1132","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-0534.html","name":"RHSA-2016:0534","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securitytracker.com/id/1035606","name":"1035606","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.openwall.com/lists/oss-security/2016/01/26/3","name":"[oss-security] 20160126 Flaw in mariadb clients SSL certificate validation","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.ubuntu.com/usn/USN-2953-1","name":"USN-2953-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00053.html","name":"openSUSE-SU-2016:1332","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.ubuntu.com/usn/USN-2954-1","name":"USN-2954-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00033.html","name":"SUSE-SU-2016:1619","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1480.html","name":"RHSA-2016:1480","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/81810","name":"81810","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00051.html","name":"openSUSE-SU-2016:1664","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://mariadb.atlassian.net/browse/MDEV-9212","tags":["x_refsource_CONFIRM"]},{"url":"https://mariadb.com/kb/en/mdb-10023-rn/","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2016/dsa-3557","name":"DSA-3557","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.debian.org/security/2016/dsa-3453","name":"DSA-3453","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://mariadb.com/kb/en/mariadb/mariadb-5547-release-notes/","tags":["x_refsource_CONFIRM"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00053.html","name":"openSUSE-SU-2016:1686","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://mariadb.com/kb/en/mariadb/mariadb-10110-release-notes/","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-0705.html","name":"RHSA-2016:0705","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00035.html","name":"SUSE-SU-2016:1279","tags":["vendor-advisory","x_refsource_SUSE"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-01-04T19:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2016-01-25T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2016-2047","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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.\""}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"SUSE-SU-2016:1620","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00034.html"},{"name":"RHSA-2016:1481","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2016-1481.html"},{"name":"RHSA-2016:1132","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2016:1132"},{"name":"RHSA-2016:0534","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2016-0534.html"},{"name":"1035606","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1035606"},{"name":"[oss-security] 20160126 Flaw in mariadb clients SSL certificate validation","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/01/26/3"},{"name":"USN-2953-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-2953-1"},{"name":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html"},{"name":"openSUSE-SU-2016:1332","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00053.html"},{"name":"USN-2954-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-2954-1"},{"name":"SUSE-SU-2016:1619","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00033.html"},{"name":"RHSA-2016:1480","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2016-1480.html"},{"name":"81810","refsource":"BID","url":"http://www.securityfocus.com/bid/81810"},{"name":"openSUSE-SU-2016:1664","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00051.html"},{"name":"https://mariadb.atlassian.net/browse/MDEV-9212","refsource":"CONFIRM","url":"https://mariadb.atlassian.net/browse/MDEV-9212"},{"name":"https://mariadb.com/kb/en/mdb-10023-rn/","refsource":"CONFIRM","url":"https://mariadb.com/kb/en/mdb-10023-rn/"},{"name":"DSA-3557","refsource":"DEBIAN","url":"http://www.debian.org/security/2016/dsa-3557"},{"name":"DSA-3453","refsource":"DEBIAN","url":"http://www.debian.org/security/2016/dsa-3453"},{"name":"https://mariadb.com/kb/en/mariadb/mariadb-5547-release-notes/","refsource":"CONFIRM","url":"https://mariadb.com/kb/en/mariadb/mariadb-5547-release-notes/"},{"name":"http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html"},{"name":"openSUSE-SU-2016:1686","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00053.html"},{"name":"https://mariadb.com/kb/en/mariadb/mariadb-10110-release-notes/","refsource":"CONFIRM","url":"https://mariadb.com/kb/en/mariadb/mariadb-10110-release-notes/"},{"name":"RHSA-2016:0705","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2016-0705.html"},{"name":"SUSE-SU-2016:1279","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00035.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00034.html","name":"SUSE-SU-2016:1620","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1481.html","name":"RHSA-2016:1481","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2016:1132","name":"RHSA-2016:1132","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-0534.html","name":"RHSA-2016:0534","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.securitytracker.com/id/1035606","name":"1035606","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2016/01/26/3","name":"[oss-security] 20160126 Flaw in mariadb clients SSL certificate validation","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-2953-1","name":"USN-2953-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00053.html","name":"openSUSE-SU-2016:1332","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-2954-1","name":"USN-2954-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00033.html","name":"SUSE-SU-2016:1619","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1480.html","name":"RHSA-2016:1480","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.securityfocus.com/bid/81810","name":"81810","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00051.html","name":"openSUSE-SU-2016:1664","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://mariadb.atlassian.net/browse/MDEV-9212","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://mariadb.com/kb/en/mdb-10023-rn/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.debian.org/security/2016/dsa-3557","name":"DSA-3557","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.debian.org/security/2016/dsa-3453","name":"DSA-3453","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://mariadb.com/kb/en/mariadb/mariadb-5547-release-notes/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00053.html","name":"openSUSE-SU-2016:1686","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://mariadb.com/kb/en/mariadb/mariadb-10110-release-notes/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-0705.html","name":"RHSA-2016:0705","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00035.html","name":"SUSE-SU-2016:1279","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T23:17:50.187Z"}}]}}}