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; 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:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Atk. Vector
NETWORK
Atk. Complexity
HIGH
Priv. Required
NONE
Base Score
CVSS 3.x
EPSS Score
Percentile: 77%
VendorProductVersion
mariadbmariadb
5.5.20 ≤
𝑥
< 5.5.47
mariadbmariadb
10.0.0 ≤
𝑥
< 10.0.23
mariadbmariadb
10.1.0 ≤
𝑥
< 10.1.10
oraclemysql
5.5.0 ≤
𝑥
≤ 5.5.48
oraclemysql
5.6.0 ≤
𝑥
≤ 5.6.29
oraclemysql
5.7.0 ≤
𝑥
≤ 5.7.11
opensuseleap
42.1
redhatenterprise_linux
6.0
redhatenterprise_linux
7.0
debiandebian_linux
8.0
debiandebian_linux
9.0
canonicalubuntu_linux
12.04
canonicalubuntu_linux
14.04
canonicalubuntu_linux
15.10
canonicalubuntu_linux
16.04
𝑥
= Vulnerable software versions
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
mariadb-10.0
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
eoan
dne
disco
dne
cosmic
dne
bionic
dne
artful
dne
zesty
dne
yakkety
not-affected
xenial
not-affected
wily
Fixed 10.0.23-0ubuntu0.15.10.1
released
vivid
Fixed 10.0.23-0ubuntu0.15.04.1
released
trusty
dne
precise
dne
mariadb-5.5
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
eoan
dne
disco
dne
cosmic
dne
bionic
dne
artful
dne
zesty
dne
yakkety
dne
xenial
dne
wily
dne
vivid
dne
trusty
Fixed 5.5.47-1ubuntu0.14.04.1
released
precise
dne
mysql-5.5
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
eoan
dne
disco
dne
cosmic
dne
bionic
dne
artful
dne
zesty
dne
yakkety
dne
xenial
dne
wily
dne
vivid
dne
trusty
Fixed 5.5.49-0ubuntu0.14.04.1
released
precise
Fixed 5.5.49-0ubuntu0.12.04.1
released
mysql-5.6
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
eoan
dne
disco
dne
cosmic
dne
bionic
dne
artful
dne
zesty
dne
yakkety
dne
xenial
dne
wily
Fixed 5.6.30-0ubuntu0.15.10.1
released
trusty
Fixed 5.6.30-0ubuntu0.14.04.1
released
precise
dne
mysql-5.7
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
eoan
dne
disco
Fixed 5.7.13-0ubuntu4
released
cosmic
Fixed 5.7.13-0ubuntu4
released
bionic
Fixed 5.7.13-0ubuntu4
released
artful
Fixed 5.7.13-0ubuntu4
released
zesty
Fixed 5.7.13-0ubuntu4
released
yakkety
Fixed 5.7.13-0ubuntu4
released
xenial
Fixed 5.7.12-0ubuntu1
released
wily
dne
trusty
dne
precise
dne
mysql-8.0
noble
not-affected
mantic
not-affected
lunar
not-affected
kinetic
not-affected
jammy
not-affected
impish
not-affected
hirsute
not-affected
groovy
not-affected
focal
not-affected
eoan
not-affected
disco
dne
bionic
dne
xenial
dne
trusty
dne
percona-server-5.6
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
eoan
dne
disco
dne
cosmic
dne
bionic
dne
artful
ignored
zesty
ignored
yakkety
ignored
xenial
needed
wily
ignored
vivid
ignored
trusty
dne
precise
dne
percona-xtradb-cluster-5.5
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
eoan
dne
disco
dne
cosmic
dne
bionic
dne
artful
dne
zesty
dne
yakkety
dne
xenial
dne
wily
dne
vivid
dne
trusty
dne
precise
dne
percona-xtradb-cluster-5.6
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
eoan
dne
disco
dne
cosmic
dne
bionic
dne
artful
not-affected
zesty
not-affected
yakkety
Fixed 5.6.34-26.19-0ubuntu0.16.10.1
released
xenial
Fixed 5.6.34-26.19-0ubuntu0.16.04.1
released
wily
ignored
vivid
ignored
trusty
dne
precise
dne
Common Weakness Enumeration
References