CVE-2024-20985: Medium severity Oracle MySQL vulnerability

Published Jan 16, 2024
·
Updated

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

12 affected componentsFixes available
debian/mysql-8.0
8.0.36-3
ubuntu/mysql-8.0<8.0.36-0ubuntu0.20.04.1
8.0.36-0ubuntu0.20.04.1
ubuntu/mysql-8.0<8.0.36-0ubuntu0.22.04.1
8.0.36-0ubuntu0.22.04.1
ubuntu/mysql-8.0<8.0.36-0ubuntu0.23.10.1
8.0.36-0ubuntu0.23.10.1
ubuntu/mysql-8.0<8.0.36
8.0.36
redhat/mysql<8.0.36
8.0.36
redhat/mysql<8.2.1
8.2.1
Oracle MySQL>=8.0.0<=8.0.35
Oracle MySQL>=8.1.0<=8.2.0
NetApp OnCommand Insight
Microsoft cbl2 mysql 8.0.35-4
Microsoft cbl2 mysql 8.0.36-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/mysql-8.0 to a version that resolves this vulnerability.

    Fixed in 8.0.36-3
  2. Upgrade

    Upgrade ubuntu/mysql-8.0 to a version that resolves this vulnerability.

    Fixed in 8.0.36-0ubuntu0.20.04.1
  3. Upgrade

    Upgrade ubuntu/mysql-8.0 to a version that resolves this vulnerability.

    Fixed in 8.0.36-0ubuntu0.22.04.1
  4. Upgrade

    Upgrade ubuntu/mysql-8.0 to a version that resolves this vulnerability.

    Fixed in 8.0.36-0ubuntu0.23.10.1
  5. Upgrade

    Upgrade ubuntu/mysql-8.0 to a version that resolves this vulnerability.

    Fixed in 8.0.36
  6. Upgrade

    Upgrade redhat/mysql to a version that resolves this vulnerability.

    Fixed in 8.0.36
  7. Upgrade

    Upgrade redhat/mysql to a version that resolves this vulnerability.

    Fixed in 8.2.1
  8. Upgrade

    Upgrade Oracle MySQL (MySQL Server) Server: UDF to a version that resolves this vulnerability.

    Fixed in 8.0.36
  9. Upgrade

    Upgrade Oracle MySQL (MySQL Server) Server: UDF to a version that resolves this vulnerability.

    Fixed in 8.2.1
  10. 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

Jan 16, 2024
CVE Published
via Ubuntu·12:00 AM
CVE Published
via MITRE·09:41 PM
Data Sourced
via MITRE·09:41 PM
DescriptionSeverity
Data Sourced
via NVD·10:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 15, 2024
Data Sourced
via Launchpad·02:54 PM
Description
Jul 10, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

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.

2

How do I fix CVE-2024-20985?

To fix CVE-2024-20985, upgrade MySQL Server to version 8.0.36 or higher.

3

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.

4

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.

5

What components of MySQL Server does CVE-2024-20985 affect?

CVE-2024-20985 affects the User Defined Functions (UDF) component of MySQL Server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203