CVE-2016-2047

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

Severity
MEDIUM
CVSS v3
5.9
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N · source nvd
Exploit chance (EPSS)
3.741%
chance of exploitation in the next 30 days
higher than 90% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2016-01-27Published by the CNA20:00 UTC

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
mariadb mariadbfrom 10.0.0 before 10.0.23fixed in 10.0.23from 10.1.0 before 10.1.10fixed in 10.1.10from 5.5.20 before 5.5.47fixed in 5.5.4710.0.2310.1.105.5.47
oracle mysqlfrom 5.5.0 through 5.5.48no fix listedfrom 5.6.0 through 5.6.29no fix listedfrom 5.7.0 through 5.7.11no fix listednot listednot listednot listed
canonical ubuntu_linux12.04no fix listed14.04no fix listed15.10no fix listed16.04no fix listednot listednot listednot listednot listed
debian debian_linux8.0no fix listed9.0no fix listednot listednot listed
opensuse leap42.1no fix listednot listed
oracle linux7no fix listednot listed
redhat enterprise_linux6.0no fix listed7.0no fix listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

24 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources