CVE-2025-21520
NoneCVSS
—
EPSS
0.3%
Published
Jan 21, 2025
CISA due date
—
Cloudanix analysis
A hard-to-exploit flaw in MySQL might let a highly trusted person already logged into the server see a small amount of data if someone else interacts with the system, but successful misuse is very unlikely.
- Exploitation
- Requires User Interaction
- Attacker needs
- High Privilege
- Complexity
- High
- Impact
- Data Exposure
- Component
- Application
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability in the Server Options component permits a high-privileged local attacker to obtain unauthorized read access to a limited subset of MySQL Server data under conditions requiring both difficult exploitation steps and interaction from a separate user.
Why it matters to the business
Low operational risk to database deployments because exploitation demands high privileges, physical or local infrastructure access, and coordinated human interaction, resulting in only minor potential exposure of non-sensitive data.
How an attack unfolds
An attacker first obtains high-privileged local logon to the host running MySQL, then relies on a second person to perform specific actions that trigger the flawed options handling path, ultimately allowing the attacker to read a restricted portion of accessible server data.
How to fix it
Upgrade affected MySQL Server installations to releases newer than 8.0.40, 8.4.3, and 9.1.0 as soon as Oracle publishes fixes; apply vendor patches promptly once available and restrict local administrative access in the interim.
How to confirm the fix worked
Confirm MySQL version numbers exceed the listed affected releases, review component option configurations for unintended exposure, and validate that local high-privileged sessions cannot read data without the required interaction conditions.
Typical attack path
- Obtain high-privileged local logon to the MySQL Server host
- Wait for or induce interaction from a separate authorized user
- Trigger the Server Options component flaw to perform unauthorized read of a data subset
How to detect it
Examine host authentication logs and MySQL process activity for unusual local sessions initiated by privileged accounts, correlate with user interaction events around options configuration changes, and review audit trails for unexpected data access patterns.
What your security team should do
- Apply Oracle MySQL updates as soon as fixed versions are released
- Enforce least-privilege local access policies on database hosts
- Monitor Oracle advisory channels for patch availability and schedule rapid deployment
The record
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Options). Supported versions that are affected are 8.0.40 and prior, 8.4.3 and prior and 9.1.0 and prior. Difficult to exploit vulnerability allows high privileged attacker with logon to the infrastructure where MySQL Server executes to compromise MySQL Server. Successful attacks require human interaction from a person other than the attacker. Successful attacks of this vulnerability can result in unauthorized read access to a subset of MySQL Server accessible data. CVSS 3.1 Base Score 1.8 (Confidentiality impacts). CVSS Vector: (CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:N/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: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-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-21546 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