Description
MySQL Community Server 5.0.x before 5.0.51, Enterprise Server 5.0.x before 5.0.52, Server 5.1.x before 5.1.23, and Server 6.0.x before 6.0.4, when a table relies on symlinks created through explicit DATA DIRECTORY and INDEX DIRECTORY options, allows remote authenticated users to overwrite system table information and gain privileges via a RENAME TABLE statement that changes the symlink to point to an existing file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 4.0 | mysql-dfsg-5.0 | 5.0.32-7etch4 | DSA-1451-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | mysql +4 | 5.0.22-2.2.el5_1.1 | RHSA-2007:1155 |
| RHEL 4 | mysql +3 | 4.1.20-3.RHEL4.1.el4_6.1 | RHSA-2007:1155 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhel Application Stack 1 | mysql +6 | 5.0.44-2.el4s1.1 | RHSA-2007:1157 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | mariadb104 | 10.4.30-150100.3.5.10 | SUSE-RU-2023:3956-1 |
| SLES 15 SP1 | python-mysqlclient | 1.4.6-150100.3.3.7 | SUSE-RU-2023:3956-1 |
| SLES 12 SP5 | lz4 | 1.8.0-3.5.2 | SUSE-RU-2023:4991-1 |
| SLES 12 SP5 | mariadb-connector-c | 3.1.22-2.35.1 | SUSE-RU-2023:4991-1 |
| SLES 12 SP5 | mariadb104 | 10.4.30-8.5.46 | SUSE-RU-2023:4991-1 |
| SLES 12 SP5 | python-mysqlclient | 1.3.14-8.9.2 | SUSE-RU-2023:4991-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP1 | mariadb104 | 10.4.30-150100.3.5.10 | SUSE-RU-2023:3956-1 |
| SLES for SAP 15 SP1 | python-mysqlclient | 1.4.6-150100.3.3.7 | SUSE-RU-2023:3956-1 |
| SLES for SAP 12 SP5 | lz4 | 1.8.0-3.5.2 | SUSE-RU-2023:4991-1 |
| SLES for SAP 12 SP5 | mariadb-connector-c | 3.1.22-2.35.1 | SUSE-RU-2023:4991-1 |
| SLES for SAP 12 SP5 | mariadb104 | 10.4.30-8.5.46 | SUSE-RU-2023:4991-1 |
| SLES for SAP 12 SP5 | python-mysqlclient | 1.3.14-8.9.2 | SUSE-RU-2023:4991-1 |
| SLE HPC 15 SP1 | mariadb104 | 10.4.30-150100.3.5.10 | SUSE-RU-2023:3956-1 |
| SLE HPC 15 SP1 | python-mysqlclient | 1.4.6-150100.3.3.7 | SUSE-RU-2023:3956-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | mariadb | 10.6.4-2.1 | openSUSE-SU-2024:11038-1 |
Advisories 6
- RHSA-2007:1155 Red Hat Security Advisory: mysql security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1451-1 mysql-dfsg-5.0 several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-RU-2023:4991-1 Recommended update for mariadb104 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11038-1 libmariadbd-devel-10.6.4-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-RU-2023:3956-1 Recommended update for mariadb104 SUSE / openSUSE Security Updates · Feb 4, 2026
- RHSA-2007:1157 Red Hat Security Advisory: mysql security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
References
- 28343 third-party-advisory
- GLSA-200804-04 vendor-advisory
- 29706 third-party-advisory
- http://bugs.mysql.com/32111
- oval:org.mitre.oval:def:10509 vdb-entry signature
- 31681 vdb-entry
- http://dev.mysql.com/doc/refman/5.0/en/releasenotes-cs-5-0-51.html
- DSA-1451 vendor-advisory
- http://dev.mysql.com/doc/refman/4.1/en/news-4-1-24.html
- 1019060 vdb-entry
- ADV-2007-4142 vdb-entry
- USN-559-1 vendor-advisory
- 20080117 rPSA-2008-0018-1 mysql mysql-bench mysql-server mailing-list
- ADV-2008-1000 vdb-entry
- SSA:2007-348-01 vendor-advisory
- ADV-2008-0560 vdb-entry
- 26765 vdb-entry
- FEDORA-2007-4465 vendor-advisory
- 28040 third-party-advisory
- RHSA-2007:1157 vendor-advisory
- 28099 third-party-advisory
- 28559 third-party-advisory
- 32222 third-party-advisory
- 27981 third-party-advisory
- ADV-2007-4198 vdb-entry
- FEDORA-2007-4471 vendor-advisory
- http://dev.mysql.com/doc/refman/5.0/en/releasenotes-es-5-0-52.html
- [Announcements] 20071206 MySQL 5.0.51 has been released mailing-list
- RHSA-2007:1155 vendor-advisory
- 28108 third-party-advisory
- 28025 third-party-advisory
- ADV-2008-2780 vdb-entry
- http://forums.mysql.com/read.php?3%2C186931%2C186931
- 28838 third-party-advisory
- 28128 third-party-advisory
- MDKSA-2007:243 vendor-advisory
- 28063 third-party-advisory
- SUSE-SR:2008:003 vendor-advisory
- APPLE-SA-2008-10-09 vendor-advisory
- http://support.apple.com/kb/HT3216
- https://issues.rpath.com/browse/RPL-1999