MariaDB, MySQL, Percona SSL certificate verification bypass
Multiple products
At a glance
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."
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 3.741%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:mariadb | mariadb | Affected versions:≥ 10.0.0, < 10.0.23Show full version range for mariadb≥ 10.1.0, < 10.1.10≥ 5.5.20, < 5.5.47 |
| Vendor:oracle | mysql | Affected versions:≥ 5.5.0, ≤ 5.5.48Show full version range for mysql≥ 5.6.0, ≤ 5.6.29≥ 5.7.0, ≤ 5.7.11 |
| Vendor:Canonical | ubuntu linux | Affected versions:12.04Show full version range for ubuntu linux14.0415.1016.04 |
| Vendor:Debian | debian linux | Affected versions:8.0Show full version range for debian linux9.0 |
| Vendor:opensuse | leap | Affected versions: 42.1 |
| Vendor:oracle | linux | Affected versions: 7 |
| Vendor:redhat | enterprise linux | Affected versions:6.0Show full version range for enterprise linux7.0 |
| Vendor:redhat | mysqlEnvironments (1)
| Affected versions:Range not specifiedShow full version range for mysql
|
| Vendor:redhat | mysql-benchEnvironments (1)
| Affected versions:Range not specifiedShow full version range for mysql-bench
|
| Vendor:redhat | mysql-develEnvironments (1)
| Affected versions:Range not specifiedShow full version range for mysql-devel
|
1–10 of 318 · Page 1 of 32
CVSS scores and metrics11
[email protected] · NVD (Primary)Primary5.9 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NCVE-2016-2047 · OSV (source-vector)5.9 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:Ncanonical · Wazuh CTI (adp)5.9 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:Nnvd · Wazuh CTI (cna)5.9 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NSUSE · SUSE VEX (adp)5.9 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N[email protected] · NVD (Primary)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:N/I:P/A:Nredhat · Wazuh CTI (adp)4.9 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Single
Source vector
AV:N/AC:M/Au:S/C:P/I:P/A:Nnvd · Wazuh CTI (cna)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:N/I:P/A:Noraclelinux · Wazuh CTI (adp)4.9 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Single
Source vector
AV:N/AC:M/Au:S/C:P/I:P/A:Nalas · Wazuh CTI (adp)4.9 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Single
Source vector
AV:N/AC:M/Au:S/C:P/I:P/A:NRed Hat · Red Hat VEX (adp)4.9 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Single
Source vector
AV:N/AC:M/Au:S/C:P/I:P/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories59
- cve.org
- NVD
- OSV
- Wazuh CTI
- Red Hat VEX
- SUSE VEX
- FIRST EPSS
- lists.opensuse.org
- lists.opensuse.org
- securityfocus.com
- lists.opensuse.org
- lists.opensuse.org
- oracle.com
- openwall.com
- securitytracker.com
- lists.opensuse.org
- lists.opensuse.org
- oracle.com
- debian.org
- debian.org
- mariadb.com
- mariadb.atlassian.net
- mariadb.com
- mariadb.com
- rhn.redhat.com
- rhn.redhat.com
- access.redhat.com
- rhn.redhat.com
- ubuntu.com
- ubuntu.com
- rhn.redhat.com
- SUSE-SU-2016:1279-1
- access.redhat.com
- SUSE CVE-2016-2047
- SUSE-CU-2019:719-1
- SUSE-CU-2019:731-1
- SUSE-CU-2019:738-1
- SUSE-SU-2016:1619-1
- SUSE-SU-2016:1620-1
- openSUSE-SU-2016:1332-1
- openSUSE-SU-2016:1664-1
- openSUSE-SU-2016:1686-1
- SUSE-SU-2016:1279-1
- SUSE-SU-2016:1619-1
- SUSE-SU-2016:1620-1
- openSUSE-SU-2016:1332-1
- openSUSE-SU-2016:1664-1
- openSUSE-SU-2016:1686-1
- ubuntu.com
- ubuntu.com
- ubuntu.com
- Mitre CVE-2016-2047
- SUSE-RU-2023:4991-1
- cve.mitre.org
- SUSE-RU-2023:3956-1
- bodhi.fedoraproject.org
- bodhi.fedoraproject.org
- linux.oracle.com
- access.redhat.com
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences