CVE-2009-4030 json
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)…
published 2009-11-30 16 y ago modified 2026-06-16 4 mo ago also EUVD-2009-4001
- cvss
- 4.4
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 37%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- mysql RHEL 4 4.1.22-2.el4_8.3
- mysql-bench RHEL 4 4.1.22-2.el4_8.3
- mysql-server RHEL 4 4.1.22-2.el4_8.3
- mysql RHEL 5 5.0.77-4.el5_4.2
- mysql-test RHEL 5 5.0.77-4.el5_4.2
- mysql-bench RHEL 5 5.0.77-4.el5_4.2
- mysql-server RHEL 5 5.0.77-4.el5_4.2
red hat advisories RHSA-2010:0110RHSA-2010:0109
- mariadb104 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 10.4.30-8.5.46
- lz4 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.8.0-3.5.2
- python-mysqlclient SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.3.14-8.9.2
- mariadb-connector-c SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 3.1.22-2.35.1
- mariadb104 SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 10.4.30-150100.3.5.10
- python-mysqlclient SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 1.4.6-150100.3.3.7
suse advisories SUSE-RU-2023:4991-1SUSE-RU-2023:3956-1
- mariadb openSUSE Tumbleweed 10.0.22-3.8
opensuse advisories openSUSE-SU-2024:10153-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-4030 updated cvss 2.4
mysql: Incomplete fix for CVE-2008-2079 / CVE-2008-4098
-
Red Hat Enterprise Linux (v. 5 server) mysql 5.0.77-4.el5_4.2, mysql-test 5.0.77-4.el5_4.2, mysql-bench 5.0.77-4.el5_4.2, mysql-server 5.0.77-4.el5_4.2fixed: vendor fix RHSA-2010:0109
-
Red Hat Enterprise Linux AS version 4 mysql 4.1.22-2.el4_8.3, mysql-bench 4.1.22-2.el4_8.3, mysql-server 4.1.22-2.el4_8.3fixed: vendor fix RHSA-2010:0110
-
Red Hat Enterprise Linux Desktop (v. 5 client) mysql 5.0.77-4.el5_4.2, mysql-test 5.0.77-4.el5_4.2, mysql-bench 5.0.77-4.el5_4.2, mysql-server 5.0.77-4.el5_4.2fixed: vendor fix RHSA-2010:0109
-
Red Hat Enterprise Linux Desktop version 4 mysql 4.1.22-2.el4_8.3, mysql-bench 4.1.22-2.el4_8.3, mysql-server 4.1.22-2.el4_8.3fixed: vendor fix RHSA-2010:0110
-
Red Hat Enterprise Linux Desktop Workstation (v. 5 client) mysql 5.0.77-4.el5_4.2, mysql-test 5.0.77-4.el5_4.2, mysql-bench 5.0.77-4.el5_4.2, mysql-server 5.0.77-4.el5_4.2fixed: vendor fix RHSA-2010:0109
-
Red Hat Enterprise Linux ES version 4 mysql 4.1.22-2.el4_8.3, mysql-bench 4.1.22-2.el4_8.3, mysql-server 4.1.22-2.el4_8.3 Red Hat Enterprise Linux WS version 4 mysql 4.1.22-2.el4_8.3, mysql-bench 4.1.22-2.el4_8.3, mysql-server 4.1.22-2.el4_8.3fixed: vendor fix RHSA-2010:0110
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.4 | AV:L/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
- Technology feeds
References
-
ubuntu.com
/usn/USN-1397-1
vendor-advisory
-
redhat.com
/support/errata/RHSA-2010-0109.html
vendor-advisory
-
ubuntu.com
/usn/usn-897-1
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2010-05/msg00001.html
vendor-advisory
-
lists.apple.com
/archives/security-announce/2010//Mar/msg00001.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2010-0110.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2010-11/msg00005.html
vendor-advisory
-
debian.org
/security/2010/dsa-1997
vendor-advisory
-
secunia.com
/advisories/38573
third-party-advisory
-
secunia.com
/advisories/38517
third-party-advisory
-
vupen.com
/english/advisories/2010/1107
vdb-entry
-
openwall.com
/lists/oss-security/2009/11/24/6
mailing-list
-
openwall.com
/lists/oss-security/2009/11/19/3
mailing-list
-
marc.info
/?l=oss-security&m=125908080222685&w=2
mailing-list
- dev.mysql.com /doc/refman/5.1/en/news-5-1-41.html
- support.apple.com /kb/HT4077
-
marc.info
/?l=oss-security&m=125908040022018&w=2
mailing-list
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11116
vdb-entry, signature
- bugs.mysql.com /bug.php?id=32167
-
lists.mysql.com
/commits/89940
mailing-list
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8156
vdb-entry, signature
Sources
- CVE List CVE-2009-4030
- NVD CVE-2009-4030
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.