CVEfocus › CVE database › CVE-2009-4030

CVE-2009-4030

EPSS 0.4% (higher than 38% of CVEs)Published 2009-11-30Updated 2024-08-07Assigner: redhat

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.

What to do

Fixed builds are available from Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Red Hat Enterprise Linux 5mysqlFixed0:5.0.77-4.el5_4.2RHSA-2010:0109
Red Hat Enterprise Linux 5mysql-benchFixed0:5.0.77-4.el5_4.2RHSA-2010:0109
Red Hat Enterprise Linux 5mysql-develFixed0:5.0.77-4.el5_4.2RHSA-2010:0109
Red Hat Enterprise Linux 5mysql-serverFixed0:5.0.77-4.el5_4.2RHSA-2010:0109
Red Hat Enterprise Linux 5mysql-testFixed0:5.0.77-4.el5_4.2RHSA-2010:0109
Red Hat Enterprise Linux 4mysqlFixed0:4.1.22-2.el4_8.3RHSA-2010:0110
Red Hat Enterprise Linux 4mysql-benchFixed0:4.1.22-2.el4_8.3RHSA-2010:0110
Red Hat Enterprise Linux 4mysql-develFixed0:4.1.22-2.el4_8.3RHSA-2010:0110
Red Hat Enterprise Linux 4mysql-serverFixed0:4.1.22-2.el4_8.3RHSA-2010:0110

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.