Description
MySQL 5.1.x before 5.1.41 allows local users to bypass certain privilege checks by calling CREATE TABLE on a MyISAM table with modified (1) DATA DIRECTORY or (2) INDEX DIRECTORY arguments that are originally associated with pathnames without symlinks, and that can point to tables created at a future time at which a pathname is modified to contain a symlink to a subdirectory of the MySQL data home directory, related to incorrect calculation of the mysql_unpacked_real_data_home value. NOTE: this vulnerability exists because of an incomplete fix for CVE-2008-4098 and CVE-2008-2079.
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 5.0 | mysql-dfsg-5.0 | 5.0.51a-24+lenny3 | DSA-1997-1 |
| Debian 4.0 | mysql-dfsg-5.0 | 5.0.32-7etch12 | DSA-1997-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | mysql +4 | 5.0.77-4.el5_4.2 | RHSA-2010:0109 |
| RHEL 4 | mysql +3 | 4.1.22-2.el4_8.3 | RHSA-2010:0110 |
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.0.22-3.8 | openSUSE-SU-2024:10153-1 |
Advisories 6
- RHSA-2010:0109 Red Hat Security Advisory: mysql security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2010:0110 Red Hat Security Advisory: mysql security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1997-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:10153-1 libmysqlclient-devel-10.0.22-3.8 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
References
- 38573 third-party-advisory
- USN-1397-1 vendor-advisory
- 38517 third-party-advisory
- RHSA-2010:0109 vendor-advisory
- ADV-2010-1107 vdb-entry
- [oss-security] 20091124 Re: mysql-5.1.41 mailing-list
- USN-897-1 vendor-advisory
- SUSE-SR:2010:011 vendor-advisory
- APPLE-SA-2010-03-29-1 vendor-advisory
- [oss-security] 20091119 mysql-5.1.41 mailing-list
- [oss-security] 20091124 Re: mysql-5.1.41 mailing-list
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-41.html
- http://support.apple.com/kb/HT4077
- [oss-security] 20091124 Re: mysql-5.1.41 mailing-list
- oval:org.mitre.oval:def:11116 vdb-entry signature
- RHSA-2010:0110 vendor-advisory
- SUSE-SR:2010:021 vendor-advisory
- http://bugs.mysql.com/bug.php?id=32167
- [commits] 20091110 bzr commit into mysql-5.0-bugteam branch (joro:2845) Bug#32167 mailing-list
- oval:org.mitre.oval:def:8156 vdb-entry signature
- DSA-1997 vendor-advisory