CVE-2025-21567
NoneCVSS
—
EPSS
0.6%
Published
Jan 21, 2025
CISA due date
—
Cloudanix analysis
A database server flaw lets users with limited access see some information they should not be able to view.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Network Service
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Flaw in MySQL Server privileges component permits low-privileged network attackers to bypass authorization checks and read a subset of accessible data via multiple protocols.
Why it matters to the business
Organizations running affected database versions face risk of unauthorized data exposure, which could lead to compliance issues or leakage of sensitive information; low exploit likelihood but still requires patching across database deployments.
How an attack unfolds
An attacker with valid low-privileged credentials connects over the network and issues specially crafted requests that exploit the privileges weakness to retrieve data they are not authorized to access.
How to fix it
Upgrade affected MySQL Server installations to fixed versions; for listed Ubuntu packages apply wget updates to 1.20.3-1ubuntu2.1 (20.04), 1.21.2-2ubuntu1.1 (22.04), 1.21.4-1ubuntu4.1 (24.04), or 1.21.3-1ubuntu1.1 (23.10) where applicable.
How to confirm the fix worked
Verify MySQL Server version is no longer in the affected range, review privilege grants, and confirm no unauthorized read paths remain via access testing.
Typical attack path
- Obtain low-privileged network access to MySQL Server
- Connect using supported protocols
- Submit crafted queries or commands that trigger the authorization flaw
- Read unauthorized subset of data
How to detect it
Review database audit logs for unexpected reads by low-privileged accounts and check connection records for unusual protocol usage after the vulnerability publication date.
What your security team should do
- Apply vendor updates immediately to eliminate the authorization bypass
- Audit low-privileged accounts and restrict network access where possible
- Monitor for unusual data access patterns from low-privilege users
The record
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security: Privileges). Supported versions that are affected are 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 read access to a subset of MySQL Server accessible data. CVSS 3.1 Base Score 4.3 (Confidentiality impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| 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:22.04:LTS | mariadb-10.6 | 0 | No fix |
| Ubuntu:24.04:LTS | mariadb | 0 | No fix |
| Ubuntu:24.10 | mariadb | 0 | No fix |
| Ubuntu:25.04 | mariadb | 0 | No fix |
| Ubuntu:25.10 | mariadb | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | mariadb-10.0 | 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:20.04:LTS | mariadb-10.3 | 0 | No fix |
Related vulnerabilities
- CVE-2025-21566 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Also affects mariadb-10.0
- CVE-2025-21555 Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Also affects mariadb-10.0
- CVE-2025-21559 Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Also affects mariadb-10.0
- CVE-2025-21540 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security… Also affects mariadb-10.0
- CVE-2025-21546 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Security… Also affects mariadb-10.0
- CVE-2025-21543 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Packaging). Also affects mariadb-10.0
- CVE-2025-21534 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Performance… Also affects mariadb-10.0
- CVE-2025-21536 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Also affects mariadb-10.0