CVE-2025-21546
NoneCVSS
—
EPSS
0.6%
Published
Jan 21, 2025
CISA due date
—
Cloudanix analysis
A database server flaw lets certain trusted users on the network change or peek at some information they are not supposed to access.
- Exploitation
- Remote Authenticated
- Attacker needs
- High Privilege
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Network Service
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
High-privileged network attacker can bypass privilege checks to perform unauthorized data modifications (insert/update/delete) and limited reads within the MySQL Server.
Why it matters to the business
Privileged insiders or compromised accounts can alter or view subsets of database content without proper authorization, increasing risk of data tampering or leakage in production environments.
How an attack unfolds
An attacker with high privileges and network access authenticates to the MySQL Server over supported protocols and issues crafted queries that exploit insufficient privilege enforcement in the security component, resulting in unauthorized data changes and reads.
How to fix it
Upgrade affected MySQL Server installations to versions beyond 8.0.40, 8.4.3, and 9.1.0. Apply the corresponding fixed package versions for any downstream components such as libhibernate3-java on Ubuntu 16.04/18.04/20.04 as listed in the advisory.
How to confirm the fix worked
Verify MySQL Server version is newer than the affected releases, review privilege grants and audit logs for unexpected data modifications, and confirm no unauthorized access patterns remain after patching.
Typical attack path
- Obtain high-privileged database credentials
- Establish network connection to MySQL Server via supported protocols
- Issue queries that trigger the privilege bypass in the security component
- Perform unauthorized inserts, updates, deletes, or reads on accessible data
How to detect it
Examine database audit logs and query logs for unexpected privilege escalations or data modifications by high-privileged accounts; correlate with network connection records from the affected MySQL Server.
What your security team should do
- Prioritize patching MySQL Server instances to fixed versions immediately given the network-accessible nature
- Review and tighten high-privileged account permissions and network exposure
- Enable enhanced auditing on privilege-related operations
- Monitor for any post-patch anomalies in data access patterns
The record
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 high 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 3.8 (Confidentiality and Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N).
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| AlmaLinux:8 | mecab | 0 | 0.996-2.module_el8.10.0+3965+b415b607 |
| AlmaLinux:8 | mecab | 0 | 0.996-2.module_el8.6.0+3340+d764b636 |
| AlmaLinux:8 | mecab-devel | 0 | 0.996-2.module_el8.10.0+3965+b415b607 |
| AlmaLinux:8 | mecab-devel | 0 | 0.996-2.module_el8.6.0+3340+d764b636 |
| AlmaLinux:8 | mecab-ipadic | 0 | 2.7.0.20070801-17.module_el8.10.0+3965+b415b607 |
| AlmaLinux:8 | mecab-ipadic-EUCJP | 0 | 2.7.0.20070801-17.module_el8.10.0+3965+b415b607 |
| AlmaLinux:8 | mysql | 0 | 8.0.41-1.module_el8.10.0+3965+b415b607 |
| AlmaLinux:8 | mysql-common | 0 | 8.0.41-1.module_el8.10.0+3965+b415b607 |
| AlmaLinux:8 | mysql-devel | 0 | 8.0.41-1.module_el8.10.0+3965+b415b607 |
| AlmaLinux:8 | mysql-errmsg | 0 | 8.0.41-1.module_el8.10.0+3965+b415b607 |
| AlmaLinux:8 | mysql-libs | 0 | 8.0.41-1.module_el8.10.0+3965+b415b607 |
| AlmaLinux:8 | mysql-server | 0 | 8.0.41-1.module_el8.10.0+3965+b415b607 |
| AlmaLinux:8 | mysql-test | 0 | 8.0.41-1.module_el8.10.0+3965+b415b607 |
| AlmaLinux:9 | mysql | 0 | 8.0.41-2.el9_5 |
| AlmaLinux:9 | mysql-common | 0 | 8.0.41-2.el9_5 |
| AlmaLinux:9 | mysql-devel | 0 | 8.0.41-2.el9_5 |
| AlmaLinux:9 | mysql-errmsg | 0 | 8.0.41-2.el9_5 |
| AlmaLinux:9 | mysql-libs | 0 | 8.0.41-2.el9_5 |
| AlmaLinux:9 | mysql-server | 0 | 8.0.41-2.el9_5 |
| AlmaLinux:9 | mysql-test | 0 | 8.0.41-2.el9_5 |
| Rocky Linux:8 | mecab | 0 | 0:0.996-2.module+el8.10.0+1676+9b4b6e24 |
| Rocky Linux:8 | mecab-ipadic | 0 | 0:2.7.0.20070801-17.module+el8.10.0+1937+28fbbc83 |
| Rocky Linux:8 | mysql | 0 | 0:8.0.41-1.module+el8.10.0+1937+28fbbc83.0.1 |
| Rocky Linux:9 | mysql | 0 | 0:8.0.41-2.el9_5 |
| Ubuntu:14.04:LTS | mysql-5.5 | 0 | No fix |
| Ubuntu:16.04:LTS | mariadb-10.0 | 0 | No fix |
| Ubuntu:16.04:LTS | percona-server-5.6 | 0 | No fix |
| Ubuntu:16.04:LTS | percona-xtradb-cluster-5.6 | 0 | No fix |
| Ubuntu:18.04:LTS | mariadb-10.1 | 0 | No fix |
| Ubuntu:20.04:LTS | mariadb-10.3 | 0 | No fix |
| Ubuntu:20.04:LTS | mysql-8.0 | 0 | No fix |
| Ubuntu:20.04:LTS | mysql-8.0 | 0 | 8.0.41-0ubuntu0.20.04.1 |
| Ubuntu:22.04:LTS | mariadb-10.6 | 0 | No fix |
| Ubuntu:22.04:LTS | mysql-8.0 | 0 | No fix |
| Ubuntu:22.04:LTS | mysql-8.0 | 0 | 8.0.41-0ubuntu0.22.04.1 |
| Ubuntu:24.04:LTS | mariadb | 0 | No fix |
| Ubuntu:24.04:LTS | mysql-8.0 | 0 | No fix |
| Ubuntu:24.04:LTS | mysql-8.0 | 0 | 8.0.41-0ubuntu0.24.04.1 |
| Ubuntu:24.10 | mariadb | 0 | No fix |
| Ubuntu:24.10 | mysql-8.0 | 0 | No fix |
| Ubuntu:25.04 | mariadb | 0 | No fix |
| Ubuntu:25.10 | mariadb | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | mysql-5.5 | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | mariadb-10.0 | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | mysql-5.7 | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | percona-server-5.6 | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | percona-xtradb-cluster-5.6 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mariadb-10.1 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mysql-5.7 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mariadb-10.3 | 0 | No fix |
Related vulnerabilities
- CVE-2025-21555 Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Also affects mecab
- CVE-2025-21559 Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Also affects mecab
- CVE-2025-21540 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security… Also affects mecab
- CVE-2025-21543 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Packaging). Also affects mecab
- CVE-2025-21534 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Performance… Also affects mecab
- CVE-2025-21536 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Also affects mecab
- CVE-2025-21525 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: DDL). Also affects mecab
- CVE-2025-21531 Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Also affects mecab