CVE-2016-2047

medium
Published 2016-01-27 ยท Modified 2026-05-06
CVSS v3
5.9
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.9

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."

Predictions

Exploit likelihood
69%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debian8.0affected
debian debian9.0affected
ubuntu ubuntu12.04affected
ubuntu ubuntu14.04affected
ubuntu ubuntu15.10affected
ubuntu ubuntu16.04affected
suse suse42.1affected
redhat rhel6.0affected
redhat rhel7.0affected

Application impact

VendorProductVersionsFixed
mysql mariadbmariadb{"startIncluding":"5.5.20","endExcluding":"5.5.47"}5.5.47
oracle oraclemysql{"startIncluding":"5.5.0","endIncluding":"5.5.48"}
mysql mariadbmariadb{"startIncluding":"10.0.0","endExcluding":"10.0.23"}10.0.23
mysql mariadbmariadb{"startIncluding":"10.1.0","endExcluding":"10.1.10"}10.1.10
oracle oraclemysql{"startIncluding":"5.6.0","endIncluding":"5.6.29"}
oracle oraclemysql{"startIncluding":"5.7.0","endIncluding":"5.7.11"}

References

CWEs

CWE-254

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.