CVE-2025-30721
Medium · 4.0CVSS
4.0
EPSS
0.2%
Published
Apr 15, 2025
CISA due date
—
Cloudanix analysis
A flaw in certain MySQL database versions lets a highly privileged local user crash the database when another person uses it, causing temporary loss of access for everyone.
- Exploitation
- Requires User Interaction
- Attacker needs
- High Privilege
- Complexity
- High
- Impact
- Denial Of Service
- Component
- Application
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Local high-privileged attacker with logon access can trigger a hang or repeatable crash in MySQL Server via the Server: UDF component when a second user performs specific actions.
Why it matters to the business
Successful exploitation causes complete loss of database availability, resulting in unplanned downtime for applications and services that rely on the affected MySQL instances.
How an attack unfolds
An attacker with administrative logon to the host running an affected MySQL version crafts or supplies a malicious UDF, waits for a second user to interact with the server, and leverages the race or interaction condition to force the server process into a hang or crash state.
How to fix it
Upgrade MySQL Server to a version beyond 8.0.41, 8.4.4 or 9.2.0 as appropriate for the release line. For Mageia 8 systems apply the listed fixed packages: kernel 5.10.75-1.mga8, kmod-virtualbox 6.1.28-1.2.mga8 and kmod-xtables-addons 3.18-1.25.mga8.
How to confirm the fix worked
Confirm the running MySQL version is newer than the affected ranges, review change logs for UDF-related fixes, and test that the server remains stable under the previously triggering interaction sequence.
Typical attack path
- Obtain high-privileged local access to the MySQL host
- Place or register a specially crafted user-defined function
- Trigger interaction from another user account on the same instance
- Cause the server to enter a hung or crashed state resulting in denial of service
How to detect it
Review MySQL error logs and system logs around the time of unexpected server restarts or hangs for UDF-related entries; correlate with authentication events showing multiple privileged sessions on the host.
What your security team should do
- Prioritize patching production MySQL instances to the fixed versions within the next maintenance window
- Restrict local administrative access to MySQL hosts to the minimum necessary personnel
- Monitor for any unusual UDF registrations or repeated server restarts in database logs
The record
Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: UDF). Supported versions that are affected are 8.0.0-8.0.41, 8.4.0-8.4.4 and 9.0.0-9.2.0. 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 ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVSS 3.1 Base Score 4.0 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H).
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| AlmaLinux:10 | mysql-selinux | 0 | 1.0.14-1.el10_0 |
| AlmaLinux:10 | mysql8.4 | 0 | 8.4.6-2.el10_0 |
| AlmaLinux:10 | mysql8.4-common | 0 | 8.4.6-2.el10_0 |
| AlmaLinux:10 | mysql8.4-devel | 0 | 8.4.6-2.el10_0 |
| AlmaLinux:10 | mysql8.4-errmsg | 0 | 8.4.6-2.el10_0 |
| AlmaLinux:10 | mysql8.4-libs | 0 | 8.4.6-2.el10_0 |
| AlmaLinux:10 | mysql8.4-server | 0 | 8.4.6-2.el10_0 |
| AlmaLinux:10 | mysql8.4-test | 0 | 8.4.6-2.el10_0 |
| AlmaLinux:10 | mysql8.4-test-data | 0 | 8.4.6-2.el10_0 |
| 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.43-1.module_el8.10.0+4049+06e4dcce |
| AlmaLinux:8 | mysql-common | 0 | 8.0.43-1.module_el8.10.0+4049+06e4dcce |
| AlmaLinux:8 | mysql-devel | 0 | 8.0.43-1.module_el8.10.0+4049+06e4dcce |
| AlmaLinux:8 | mysql-errmsg | 0 | 8.0.43-1.module_el8.10.0+4049+06e4dcce |
| AlmaLinux:8 | mysql-libs | 0 | 8.0.43-1.module_el8.10.0+4049+06e4dcce |
| AlmaLinux:8 | mysql-server | 0 | 8.0.43-1.module_el8.10.0+4049+06e4dcce |
| AlmaLinux:8 | mysql-test | 0 | 8.0.43-1.module_el8.10.0+4049+06e4dcce |
| AlmaLinux:9 | mecab | 0 | 0.996-3.module_el9.6.0+152+8cbce00c.4 |
| AlmaLinux:9 | mecab-devel | 0 | 0.996-3.module_el9.6.0+152+8cbce00c.4 |
| AlmaLinux:9 | mecab-ipadic | 0 | 2.7.0.20070801-24.module_el9.6.0+152+8cbce00c |
| AlmaLinux:9 | mecab-ipadic-EUCJP | 0 | 2.7.0.20070801-24.module_el9.6.0+152+8cbce00c |
| AlmaLinux:9 | mysql | 0 | 8.4.6-1.module_el9.6.0+180+a4e757e5 |
| AlmaLinux:9 | mysql | 0 | 8.0.43-1.el9_6 |
| AlmaLinux:9 | mysql-common | 0 | 8.4.6-1.module_el9.6.0+180+a4e757e5 |
| AlmaLinux:9 | mysql-common | 0 | 8.0.43-1.el9_6 |
| AlmaLinux:9 | mysql-devel | 0 | 8.4.6-1.module_el9.6.0+180+a4e757e5 |
| AlmaLinux:9 | mysql-devel | 0 | 8.0.43-1.el9_6 |
| AlmaLinux:9 | mysql-errmsg | 0 | 8.4.6-1.module_el9.6.0+180+a4e757e5 |
| AlmaLinux:9 | mysql-errmsg | 0 | 8.0.43-1.el9_6 |
| AlmaLinux:9 | mysql-libs | 0 | 8.4.6-1.module_el9.6.0+180+a4e757e5 |
| AlmaLinux:9 | mysql-libs | 0 | 8.0.43-1.el9_6 |
| AlmaLinux:9 | mysql-server | 0 | 8.4.6-1.module_el9.6.0+180+a4e757e5 |
| AlmaLinux:9 | mysql-server | 0 | 8.0.43-1.el9_6 |
| AlmaLinux:9 | mysql-test | 0 | 8.4.6-1.module_el9.6.0+180+a4e757e5 |
| AlmaLinux:9 | mysql-test | 0 | 8.0.43-1.el9_6 |
| AlmaLinux:9 | mysql-test-data | 0 | 8.4.6-1.module_el9.6.0+180+a4e757e5 |
| AlmaLinux:9 | rapidjson-devel | 0 | 1.1.0-19.module_el9.6.0+152+8cbce00c |
| AlmaLinux:9 | rapidjson-doc | 0 | 1.1.0-19.module_el9.6.0+152+8cbce00c |
Related vulnerabilities
- CVE-2025-5399 Due to a mistake in libcurl's WebSocket code, a malicious server can send a particularly… Also affects mysql-selinux
- CVE-2025-30715 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Components… Also affects mysql-selinux
- CVE-2025-30722 Vulnerability in the MySQL Client product of Oracle MySQL (component: Client: mysqldump). Also affects mysql-selinux
- CVE-2025-30699 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Stored… Also affects mysql-selinux
- CVE-2025-30705 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: PS). Also affects mysql-selinux
- CVE-2025-30704 Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Components… Also affects mysql-selinux
- CVE-2025-30703 Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Also affects mysql-selinux
- CVE-2025-30695 Vulnerability in the MySQL Server product of Oracle MySQL (component: InnoDB). Also affects mysql-selinux