CVE-2016-2047

Summary

CVECVE-2016-2047
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-01-27 20:59:05 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionThe 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."

Risk And Classification

Primary CVSS: v3.0 5.9 MEDIUM from [email protected]

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Problem Types: CWE-254 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary5.9MEDIUMCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
2.0[email protected]Primary4.3AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS v3.0 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:M/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Mariadb Mariadb All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Third Party Advisory
Debian -- Security Information -- DSA-3557-1 mysql-5.5 af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
Debian -- Security Information -- DSA-3453-1 mariadb-10.0 af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Third Party Advisory
MariaDB 10.0.23 Release Notes - MariaDB Knowledge Base af854a3a-2127-422b-91ae-364da2661108 mariadb.com Vendor Advisory
[security-announce] openSUSE-SU-2016:1332-1: important: Security update af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Mailing List, Third Party Advisory
[security-announce] SUSE-SU-2016:1619-1: important: Security update for af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Mailing List, Third Party Advisory
[MDEV-9212] ssl-validate-cert incorrect hostname check - JIRA af854a3a-2127-422b-91ae-364da2661108 mariadb.atlassian.net Vendor Advisory
[security-announce] SUSE-SU-2016:1279-1: important: Security update for af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Mailing List, Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Third Party Advisory
USN-2954-1: MySQL vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Third Party Advisory
oss-security - Flaw in mariadb clients SSL certificate validation af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
MariaDB 10.1.10 Release Notes - MariaDB Knowledge Base af854a3a-2127-422b-91ae-364da2661108 mariadb.com Vendor Advisory
Oracle Critical Patch Update Advisory - April 2016 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Vendor Advisory
MariaDB/MySQL/Percona Server CVE-2016-2047 SSL Certificate Validation Security Bypass Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
USN-2953-1: MySQL vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Third Party Advisory
[security-announce] SUSE-SU-2016:1620-1: important: Security update for af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Mailing List, Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Third Party Advisory
[security-announce] openSUSE-SU-2016:1664-1: important: Security update af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Mailing List, Third Party Advisory
Oracle Linux Bulletin - April 2016 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Third Party Advisory
MySQL Multiple Bugs Let Remote Users Access and Modify Data and Deny Service and Let Remote and Remote Authenticated Users Gain Elevated Privileges - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com Third Party Advisory, VDB Entry
MariaDB 5.5.47 Release Notes - MariaDB Knowledge Base af854a3a-2127-422b-91ae-364da2661108 mariadb.com Vendor Advisory
[security-announce] openSUSE-SU-2016:1686-1: important: Security update af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report