CVE-2008-4098
MySQL before 5.0.67 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 home data directory. NOTE: this vulnerability exists because of an incomplete fix for CVE-2008-4097.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 4 | mysql | Fixed | 0:4.1.22-2.el4_8.3 | RHSA-2010:0110 |
| Red Hat Enterprise Linux 4 | mysql-bench | Fixed | 0:4.1.22-2.el4_8.3 | RHSA-2010:0110 |
| Red Hat Enterprise Linux 4 | mysql-devel | Fixed | 0:4.1.22-2.el4_8.3 | RHSA-2010:0110 |
| Red Hat Enterprise Linux 4 | mysql-server | Fixed | 0:4.1.22-2.el4_8.3 | RHSA-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:
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:094 (vendor-advisory)
- http://www.ubuntu.com/usn/USN-1397-1 (vendor-advisory)
- http://www.redhat.com/support/errata/RHSA-2009-1067.html (vendor-advisory)
- http://www.ubuntu.com/usn/USN-671-1 (vendor-advisory)
- http://ubuntu.com/usn/usn-897-1 (vendor-advisory)
- http://www.debian.org/security/2008/dsa-1662 (vendor-advisory)
References
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:094
- http://www.ubuntu.com/usn/USN-1397-1
- http://www.redhat.com/support/errata/RHSA-2009-1067.html
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480292#25
- http://www.ubuntu.com/usn/USN-671-1
- http://secunia.com/advisories/38517
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10591
- http://ubuntu.com/usn/usn-897-1
- http://secunia.com/advisories/32769
- http://www.openwall.com/lists/oss-security/2008/09/09/20
- http://www.openwall.com/lists/oss-security/2008/09/16/3
- http://secunia.com/advisories/32759
- https://exchange.xforce.ibmcloud.com/vulnerabilities/45649
- http://www.debian.org/security/2008/dsa-1662
- http://www.redhat.com/support/errata/RHSA-2010-0110.html
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.