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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | mecab | 0.996-2.module_el8.6.0+3340+d764b636 | ALSA-2025:1673 |
| AlmaLinux:8 | mecab | 0.996-2.module_el8.10.0+3965+b415b607 | ALSA-2025:1673 |
| AlmaLinux:8 | mecab-devel | 0.996-2.module_el8.6.0+3340+d764b636 | ALSA-2025:1673 |
| AlmaLinux:8 | mecab-devel | 0.996-2.module_el8.10.0+3965+b415b607 | ALSA-2025:1673 |
| AlmaLinux:8 | mecab-ipadic | 2.7.0.20070801-17.module_el8.10.0+3965+b415b607 | ALSA-2025:1673 |
| AlmaLinux:8 | mecab-ipadic-EUCJP | 2.7.0.20070801-17.module_el8.10.0+3965+b415b607 | ALSA-2025:1673 |
| AlmaLinux:8 | mysql | 8.0.41-1.module_el8.10.0+3965+b415b607 | ALSA-2025:1673 |
| AlmaLinux:9 | mysql | 8.0.41-2.el9_5 | ALSA-2025:1671 |
| AlmaLinux:8 | mysql-common | 8.0.41-1.module_el8.10.0+3965+b415b607 | ALSA-2025:1673 |
| AlmaLinux:9 | mysql-common | 8.0.41-2.el9_5 | ALSA-2025:1671 |
| AlmaLinux:8 | mysql-devel | 8.0.41-1.module_el8.10.0+3965+b415b607 | ALSA-2025:1673 |
| AlmaLinux:9 | mysql-devel | 8.0.41-2.el9_5 | ALSA-2025:1671 |
| AlmaLinux:8 | mysql-errmsg | 8.0.41-1.module_el8.10.0+3965+b415b607 | ALSA-2025:1673 |
| AlmaLinux:9 | mysql-errmsg | 8.0.41-2.el9_5 | ALSA-2025:1671 |
| AlmaLinux:8 | mysql-libs | 8.0.41-1.module_el8.10.0+3965+b415b607 | ALSA-2025:1673 |
| AlmaLinux:9 | mysql-libs | 8.0.41-2.el9_5 | ALSA-2025:1671 |
| AlmaLinux:8 | mysql-server | 8.0.41-1.module_el8.10.0+3965+b415b607 | ALSA-2025:1673 |
| AlmaLinux:9 | mysql-server | 8.0.41-2.el9_5 | ALSA-2025:1671 |
| AlmaLinux:8 | mysql-test | 8.0.41-1.module_el8.10.0+3965+b415b607 | ALSA-2025:1673 |
| AlmaLinux:9 | mysql-test | 8.0.41-2.el9_5 | ALSA-2025:1671 |
| Rocky Linux:8 | mecab | 0:0.996-2.module+el8.10.0+1676+9b4b6e24 | RLSA-2025:1673 |
| Rocky Linux:8 | mecab-ipadic | 0:2.7.0.20070801-17.module+el8.10.0+1937+28fbbc83 | RLSA-2025:1673 |
| Rocky Linux:8 | mysql | 0:8.0.41-1.module+el8.10.0+1937+28fbbc83.0.1 | RLSA-2025:1673 |
| Rocky Linux:9 | mysql | 0:8.0.41-2.el9_5 | RLSA-2025:1671 |
| Ubuntu:22.04:LTS | mysql-8.0 | 8.0.41-0ubuntu0.22.04.1 | USN-7245-1 |
| Ubuntu:22.04:LTS | mysql-8.0 | 8.0.41-0ubuntu0.22.04.1 | UBUNTU-CVE-2025-21540 |
| Ubuntu:24.04:LTS | mysql-8.0 | 8.0.41-0ubuntu0.24.04.1 | UBUNTU-CVE-2025-21540 |
| Ubuntu:24.04:LTS | mysql-8.0 | 8.0.41-0ubuntu0.24.04.1 | USN-7245-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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