CVE-2024-20985: Medium severity Oracle MySQL vulnerability
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: UDF). Supported versions that are affected are 8.0.35 and prior and 8.2.0 and prior. Easily exploitable vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.1 Base Score 6.5 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).
Other sources
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: UDF). Supported versions that are affected are 8.0.35 and prior and 8.2.0 and prior. Easily exploitable vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server.
External References:
https://www.oracle.com/security-alerts/cpujan2024.html#AppendixMSQL
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/mysql-8.0to a version that resolves this vulnerability.Fixed in 8.0.36-3 - Upgrade
Upgrade
ubuntu/mysql-8.0to a version that resolves this vulnerability.Fixed in 8.0.36-0ubuntu0.20.04.1 - Upgrade
Upgrade
ubuntu/mysql-8.0to a version that resolves this vulnerability.Fixed in 8.0.36-0ubuntu0.22.04.1 - Upgrade
Upgrade
ubuntu/mysql-8.0to a version that resolves this vulnerability.Fixed in 8.0.36-0ubuntu0.23.10.1 - Upgrade
Upgrade
ubuntu/mysql-8.0to a version that resolves this vulnerability.Fixed in 8.0.36 - Upgrade
Upgrade
redhat/mysqlto a version that resolves this vulnerability.Fixed in 8.0.36 - Upgrade
Upgrade
redhat/mysqlto a version that resolves this vulnerability.Fixed in 8.2.1 - Upgrade
Upgrade
Oracle MySQL (MySQL Server) Server: UDFto a version that resolves this vulnerability.Fixed in 8.0.36 - Upgrade
Upgrade
Oracle MySQL (MySQL Server) Server: UDFto a version that resolves this vulnerability.Fixed in 8.2.1 - Compensating control
Mitigate availability risk by limiting network access to the MySQL Server to only required clients/protocols (since the issue has network access via multiple protocols and can be exploited to cause a hang or frequently repeatable crash / complete DOS).
Event History
Frequently Asked Questions
What is the severity of CVE-2024-20985?
CVE-2024-20985 is considered to be easily exploitable and allows a low privileged attacker to compromise MySQL Server.
How do I fix CVE-2024-20985?
To fix CVE-2024-20985, upgrade MySQL Server to version 8.0.36 or higher.
Which versions are affected by CVE-2024-20985?
CVE-2024-20985 affects MySQL Server versions 8.0.35 and earlier, as well as 8.2.0 and earlier.
Can CVE-2024-20985 be exploited remotely?
Yes, CVE-2024-20985 can be exploited by a low privileged attacker with network access via multiple protocols.
What components of MySQL Server does CVE-2024-20985 affect?
CVE-2024-20985 affects the User Defined Functions (UDF) component of MySQL Server.