CVE-2016-2047Mariadb
Medium 5.9 No auth needed
Follow: this CVE · Mariadb · Mariadb We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.0
- 5.9
- EPSS
- 3.7% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Jan 27, 2016
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-254
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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."
What to do
- Apply the vendor's security update for Mariadb.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mariadb | mariadb | ≥ 5.5.20 < 5.5.47 |
| mariadb | mariadb | ≥ 10.0.0 < 10.0.23 |
| mariadb | mariadb | ≥ 10.1.0 < 10.1.10 |
| oracle | linux | 7 |
| oracle | mysql | ≥ 5.5.0 ≤ 5.5.48 |
| oracle | mysql | ≥ 5.6.0 ≤ 5.6.29 |
| oracle | mysql | ≥ 5.7.0 ≤ 5.7.11 |
| opensuse | leap | 42.1 |
| redhat | enterprise_linux | 6.0 |
| redhat | enterprise_linux | 7.0 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| canonical | ubuntu_linux | 12.04 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 15.10 |
| canonical | ubuntu_linux | 16.04 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.debian.org Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.oracle.com Patch Vendor Advisory
- www.oracle.com Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- www.ubuntu.com Third Party Advisory
- www.ubuntu.com Third Party Advisory
- access.redhat.com Third Party Advisory
- mariadb.atlassian.net Vendor Advisory
- mariadb.com Vendor Advisory
- mariadb.com Vendor Advisory
- mariadb.com Vendor Advisory