CVE-2017-3305
Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: C API). Supported versions that are affected are 5.5.55 and earlier and 5.6.35 and earlier. Difficult to exploit vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized access to critical data or complete access to all MySQL Server accessible data. CVSS 3.0 Base Score 5.3 (Confidentiality impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N). NOTE: the previous information is from the April 2017 CPU. Oracle has not commented on third-party claims that this issue allows man-in-the-middle attackers to hijack the authentication of users by leveraging incorrect ordering of security parameter verification in a client, aka, "The Riddle".
What to do
Fixed builds are available from Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | mysql-8.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | mysql-8.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | mariadb-10.1 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | mariadb-10.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | mysql-5.7 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | percona-server-5.6 | Fix pending | UBUNTU-CVE-2017-3305 | |
| Ubuntu 16.04 | percona-xtradb-cluster-5.6 | Fix pending | UBUNTU-CVE-2017-3305 | |
| Ubuntu 14.04 | mysql-5.5 | Fixed | 5.5.55-0ubuntu0.14.04.1 | UBUNTU-CVE-2017-3305 |
| Ubuntu 14.04 | mysql-5.6 | Fix pending | ||
| Ubuntu 14.04 | percona-xtradb-cluster-5.5 | Fix pending | ||
| Red Hat Enterprise Linux 7 | mariadb | Not affected | ||
| Red Hat Enterprise Linux 7 | mariadb-bench | Not affected | ||
| Red Hat Enterprise Linux 7 | mariadb-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | mariadb-embedded | Not affected | ||
| Red Hat Enterprise Linux 7 | mariadb-embedded-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | mariadb-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | mariadb-server | Not affected | ||
| Red Hat Enterprise Linux 7 | mariadb-test | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-bench | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-embedded | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-embedded-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-server | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-test | Not affected | ||
| Red Hat Enterprise Linux 5 | mysql55-mysql | Not affected |
What the vendor says
As published in the CVE record by oracle, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Oracle Corporation MySQL Server: affected: 5.5.55 and earlier, 5.6.35 and earlier
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2017:2787 (vendor-advisory)
- http://www.debian.org/security/2017/dsa-3834 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2017:2787
- http://www.openwall.com/lists/oss-security/2017/03/17/3
- http://www.securitytracker.com/id/1038287
- http://riddle.link/
- http://www.oracle.com/technetwork/security-advisory/cpuapr2017-3236618.html
- http://www.debian.org/security/2017/dsa-3834
- http://www.securityfocus.com/bid/97023
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.