{
  "threat_severity" : "Moderate",
  "public_date" : "2015-11-30T00:00:00Z",
  "bugzilla" : {
    "description" : "mysql: ssl-validate-cert incorrect hostname check",
    "id" : "1301874",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1301874"
  },
  "cvss" : {
    "cvss_base_score" : "4.9",
    "cvss_scoring_vector" : "AV:N/AC:M/Au:S/C:P/I:P/A:N",
    "status" : "verified"
  },
  "cwe" : "CWE-295",
  "details" : [ "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-middle attacker could possibly use this flaw to impersonate a server to a client." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2016-03-31T00:00:00Z",
    "advisory" : "RHSA-2016:0534",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "mariadb-1:5.5.47-1.el7_2"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6",
    "release_date" : "2016-05-02T00:00:00Z",
    "advisory" : "RHSA-2016:0705",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "rh-mysql56-mysql-0:5.6.30-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6",
    "release_date" : "2016-05-26T00:00:00Z",
    "advisory" : "RHSA-2016:1132",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "rh-mariadb100-mariadb-1:10.0.25-4.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6",
    "release_date" : "2016-07-25T00:00:00Z",
    "advisory" : "RHSA-2016:1480",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "mysql55-mysql-0:5.5.50-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6",
    "release_date" : "2016-07-25T00:00:00Z",
    "advisory" : "RHSA-2016:1481",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "mariadb55-mariadb-0:5.5.49-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS",
    "release_date" : "2016-05-02T00:00:00Z",
    "advisory" : "RHSA-2016:0705",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "rh-mysql56-mysql-0:5.6.30-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS",
    "release_date" : "2016-05-26T00:00:00Z",
    "advisory" : "RHSA-2016:1132",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "rh-mariadb100-mariadb-1:10.0.25-4.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS",
    "release_date" : "2016-07-25T00:00:00Z",
    "advisory" : "RHSA-2016:1480",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "mysql55-mysql-0:5.5.50-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS",
    "release_date" : "2016-07-25T00:00:00Z",
    "advisory" : "RHSA-2016:1481",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "mariadb55-mariadb-0:5.5.49-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS",
    "release_date" : "2016-05-02T00:00:00Z",
    "advisory" : "RHSA-2016:0705",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "rh-mysql56-mysql-0:5.6.30-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS",
    "release_date" : "2016-05-26T00:00:00Z",
    "advisory" : "RHSA-2016:1132",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "rh-mariadb100-mariadb-1:10.0.25-4.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS",
    "release_date" : "2016-07-25T00:00:00Z",
    "advisory" : "RHSA-2016:1480",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "mysql55-mysql-0:5.5.50-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS",
    "release_date" : "2016-07-25T00:00:00Z",
    "advisory" : "RHSA-2016:1481",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "mariadb55-mariadb-0:5.5.49-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2016-05-02T00:00:00Z",
    "advisory" : "RHSA-2016:0705",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "rh-mysql56-mysql-0:5.6.30-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2016-05-26T00:00:00Z",
    "advisory" : "RHSA-2016:1132",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "rh-mariadb100-mariadb-1:10.0.25-4.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2016-07-25T00:00:00Z",
    "advisory" : "RHSA-2016:1480",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "mysql55-mysql-0:5.5.50-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2016-07-25T00:00:00Z",
    "advisory" : "RHSA-2016:1481",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "mariadb55-mariadb-0:5.5.49-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS",
    "release_date" : "2016-05-02T00:00:00Z",
    "advisory" : "RHSA-2016:0705",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "rh-mysql56-mysql-0:5.6.30-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS",
    "release_date" : "2016-05-26T00:00:00Z",
    "advisory" : "RHSA-2016:1132",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "rh-mariadb100-mariadb-1:10.0.25-4.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS",
    "release_date" : "2016-07-25T00:00:00Z",
    "advisory" : "RHSA-2016:1480",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "mysql55-mysql-0:5.5.50-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS",
    "release_date" : "2016-07-25T00:00:00Z",
    "advisory" : "RHSA-2016:1481",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "mariadb55-mariadb-0:5.5.49-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS",
    "release_date" : "2016-05-02T00:00:00Z",
    "advisory" : "RHSA-2016:0705",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "rh-mysql56-mysql-0:5.6.30-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS",
    "release_date" : "2016-05-26T00:00:00Z",
    "advisory" : "RHSA-2016:1132",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "rh-mariadb100-mariadb-1:10.0.25-4.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS",
    "release_date" : "2016-07-25T00:00:00Z",
    "advisory" : "RHSA-2016:1480",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "mysql55-mysql-0:5.5.50-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS",
    "release_date" : "2016-07-25T00:00:00Z",
    "advisory" : "RHSA-2016:1481",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "mariadb55-mariadb-0:5.5.49-1.el7"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Will not fix",
    "package_name" : "mysql55-mysql",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Will not fix",
    "package_name" : "mysql",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)",
    "fix_state" : "Will not fix",
    "package_name" : "mariadb-galera",
    "cpe" : "cpe:/a:redhat:openstack:5::el6"
  }, {
    "product_name" : "Red Hat Enterprise Linux OpenStack Platform 6 (Juno)",
    "fix_state" : "Will not fix",
    "package_name" : "mariadb-galera",
    "cpe" : "cpe:/a:redhat:openstack:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux OpenStack Platform 7 (Kilo)",
    "fix_state" : "Will not fix",
    "package_name" : "mariadb-galera",
    "cpe" : "cpe:/a:redhat:openstack:7"
  }, {
    "product_name" : "Red Hat OpenStack Platform 8 (Liberty)",
    "fix_state" : "Will not fix",
    "package_name" : "mariadb-galera",
    "cpe" : "cpe:/a:redhat:openstack:8"
  }, {
    "product_name" : "Red Hat Software Collections",
    "fix_state" : "Not affected",
    "package_name" : "rh-mariadb101-mariadb",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2016-2047\nhttps://nvd.nist.gov/vuln/detail/CVE-2016-2047\nhttp://www.openwall.com/lists/oss-security/2016/01/26/3" ],
  "name" : "CVE-2016-2047",
  "csaw" : false
}