CVE-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;…
- Published
- Updated
- Reserved
- Assigned by
- mitre
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."
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 3.7% · top 10% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.
Weakness
Affected products
n/a
- affected n/a
References (24)
- SUSE-SU-2016:1620 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- RHSA-2016:1481 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2016:1132 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2016:0534 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 1035606 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- [oss-security] 20160126 Flaw in mariadb clients SSL certificate validation (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- USN-2953-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- openSUSE-SU-2016:1332 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- USN-2954-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- SUSE-SU-2016:1619 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- RHSA-2016:1480 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 81810 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- openSUSE-SU-2016:1664 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- https://mariadb.atlassian.net/browse/MDEV-9212 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://mariadb.com/kb/en/mdb-10023-rn/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-3557 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- DSA-3453 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://mariadb.com/kb/en/mariadb/mariadb-5547-release-notes/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- openSUSE-SU-2016:1686 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- https://mariadb.com/kb/en/mariadb/mariadb-10110-release-notes/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2016:0705 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- SUSE-SU-2016:1279 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .