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…
Check your servers for CVE-2016-2047
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2016-2047 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
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."
Exploitation
EPSS 3.74%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 90.6% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2016-2047 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2016-2047RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2016-2047Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2016-2047
trivy image --scanners vuln IMAGE | grep CVE-2016-2047
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- SUSE-SU-2016:1620 lists.opensuse.org · vendor advisory
- RHSA-2016:1481 rhn.redhat.com · vendor advisory
- RHSA-2016:1132 access.redhat.com · vendor advisory
- RHSA-2016:0534 rhn.redhat.com · vendor advisory
- USN-2953-1 ubuntu.com · vendor advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html oracle.com
- openSUSE-SU-2016:1332 lists.opensuse.org · vendor advisory
- USN-2954-1 ubuntu.com · vendor advisory
- SUSE-SU-2016:1619 lists.opensuse.org · vendor advisory
- RHSA-2016:1480 rhn.redhat.com · vendor advisory
- openSUSE-SU-2016:1664 lists.opensuse.org · vendor advisory
- https://mariadb.atlassian.net/browse/MDEV-9212 mariadb.atlassian.net
9 more
- https://mariadb.com/kb/en/mdb-10023-rn/ mariadb.com
- DSA-3557 debian.org · vendor advisory
- DSA-3453 debian.org · vendor advisory
- https://mariadb.com/kb/en/mariadb/mariadb-5547-release-notes/ mariadb.com
- http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html oracle.com
- openSUSE-SU-2016:1686 lists.opensuse.org · vendor advisory
- https://mariadb.com/kb/en/mariadb/mariadb-10110-release-notes/ mariadb.com
- RHSA-2016:0705 rhn.redhat.com · vendor advisory
- SUSE-SU-2016:1279 lists.opensuse.org · vendor advisory
Other references
- 1035606 securitytracker.com · vdb entry
- [oss-security] 20160126 Flaw in mariadb clients SSL certificate validation openwall.com · mailing list
- 81810 securityfocus.com · vdb entry
Source: the record CVE-2016-2047 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse