Vulnerability · Published Jan 21, 2025 · Assigned by oracle

CVE-2025-21540

Medium 5.4

In plain English

A medium-severity incorrect authorization in MySQL Server from Oracle Corporation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.5%top 57.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security: Privileges). Supported versions that are affected are 8.0.40 and prior, 8.4.3 and prior and 9.1.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 update, insert or delete access to some of MySQL Server accessible data as well as unauthorized read access to a subset of MySQL Server accessible data. CVSS 3.1 Base Score 5.4 (Confidentiality and Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8mecab0.996-2.module_el8.6.0+3340+d764b636ALSA-2025:1673
AlmaLinux:8mecab0.996-2.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:8mecab-devel0.996-2.module_el8.6.0+3340+d764b636ALSA-2025:1673
AlmaLinux:8mecab-devel0.996-2.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:8mecab-ipadic2.7.0.20070801-17.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:8mecab-ipadic-EUCJP2.7.0.20070801-17.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:8mysql8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:9mysql8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux:8mysql-common8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:9mysql-common8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux:8mysql-devel8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:9mysql-devel8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux:8mysql-errmsg8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:9mysql-errmsg8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux:8mysql-libs8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:9mysql-libs8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux:8mysql-server8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:9mysql-server8.0.41-2.el9_5ALSA-2025:1671
AlmaLinux:8mysql-test8.0.41-1.module_el8.10.0+3965+b415b607ALSA-2025:1673
AlmaLinux:9mysql-test8.0.41-2.el9_5ALSA-2025:1671
Rocky Linux:8mecab0:0.996-2.module+el8.10.0+1676+9b4b6e24RLSA-2025:1673
Rocky Linux:8mecab-ipadic0:2.7.0.20070801-17.module+el8.10.0+1937+28fbbc83RLSA-2025:1673
Rocky Linux:8mysql0:8.0.41-1.module+el8.10.0+1937+28fbbc83.0.1RLSA-2025:1673
Rocky Linux:9mysql0:8.0.41-2.el9_5RLSA-2025:1671
Ubuntu:22.04:LTSmysql-8.08.0.41-0ubuntu0.22.04.1USN-7245-1
Ubuntu:22.04:LTSmysql-8.08.0.41-0ubuntu0.22.04.1UBUNTU-CVE-2025-21540
Ubuntu:24.04:LTSmysql-8.08.0.41-0ubuntu0.24.04.1UBUNTU-CVE-2025-21540
Ubuntu:24.04:LTSmysql-8.08.0.41-0ubuntu0.24.04.1USN-7245-1

Affected products (as reported)

VendorProductVersions
Oracle Corporation MySQL Server * – through 8.0.40* – through 8.4.3* – through 9.1.0

Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

References