CVE-2017-3305
Vulnerability in Oracle Corporation MySQL Server
Check your servers for CVE-2017-3305
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-2017-3305 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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".
Exploitation
EPSS 1.36%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 71.9% of all scored CVEs. Scores of 27 Nov 2026.
The assessment of CISA (SSVC, 7 Oct 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| MySQL Server |
affected 5.5.55 and earlier affected 5.6.35 and earlier
|
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-2017-3305 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2017-3305RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2017-3305Alpine
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-2017-3305
trivy image --scanners vuln IMAGE | grep CVE-2017-3305
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 and one domain or read how to install the agent.
References
Advisories
- RHSA-2017:2787 access.redhat.com · vendor advisory
- http://www.oracle.com/technetwork/security-advisory/cpuapr2017-3236618.html oracle.com
- DSA-3834 debian.org · vendor advisory
Other references
- [oss-security] 20170317 CVE-2017-3305 - The Riddle vulnerability in MySQL client (public disclosure) openwall.com · mailing list
- 1038287 securitytracker.com · vdb entry
- http://riddle.link/ riddle.link
- 97023 securityfocus.com · vdb entry
Source: the record CVE-2017-3305 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse