Security mailing lists by PureSourceCode

CVE-2016-2047

MEDIUM 5.9CVSS 3.0

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

Published
27 Jan 2016
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-254
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mariadb mariadb
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
>= 5.5.20, < 5.5.47 5.5.47
NVD mariadb mariadb
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
>= 10.0.0, < 10.0.23 10.0.23
NVD mariadb mariadb
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
>= 10.1.0, < 10.1.10 10.1.10
NVD oracle linux
cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:*
= 7
NVD oracle mysql
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
>= 5.5.0, <= 5.5.48
NVD oracle mysql
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
>= 5.6.0, <= 5.6.29
NVD oracle mysql
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
>= 5.7.0, <= 5.7.11
NVD opensuse leap
cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*
= 42.1
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
= 6.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
= 12.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
= 14.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
= 15.10
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04

References

History

  • 25 Nov 2026 20:19 UTC · NVD: first stored (published 27 Jan 2016)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.