Every CVE Search/ Get API key

CVE-2008-4098

MySQL before 5.0.67 allows local users to bypass certain privilege checks by calling CREATE TABLE...

4.6 MediumFix available

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.

Exploit likelihood

1.62%Up 0.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 4.6

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.

Record
CVE-2008-4098
CVSS 2.0
4.6 MediumAV:N/AC:H/Au:S/C:P/I:P/A:P
Weakness
CWE-59
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2008-4098
Updated
2026-11-02
EUVDEUVD-2008-4082 No score

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.

Record
EUVD-2008-4082
Updated
2026-11-03
GitHub AdvisoriesGHSA-cwr2-c5mc-rxv6 No score

MySQL before 5.0.67 allows local users to bypass certain privilege checks by calling CREATE TABLE...

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.

Record
GHSA-cwr2-c5mc-rxv6
Weakness
CWE-59
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
mysql-dfsg-5.0
Debian:4.0
before 5.0.32-7etch8, plus listed versions
5.0.32-7etch15.0.32-7etch35.0.32-7etch3~bpo31+15.0.32-7etch45.0.32-7etch55.0.32-7etch5~bpo31+15.0.32-7etch6
5.0.32-7etch8
httpd
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:2.2.11-2.el5s2
0:2.2.11-2.el5s2
httpd-debuginfo
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:2.2.11-2.el5s2
0:2.2.11-2.el5s2
httpd-devel
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:2.2.11-2.el5s2
0:2.2.11-2.el5s2
httpd-manual
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:2.2.11-2.el5s2
0:2.2.11-2.el5s2
mod_jk
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:1.2.28-2.el5s2
0:1.2.28-2.el5s2
mod_jk-ap20
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:1.2.28-2.el5s2
0:1.2.28-2.el5s2
mod_jk-debuginfo
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:1.2.28-2.el5s2
0:1.2.28-2.el5s2
mod_ssl
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 1:2.2.11-2.el5s2
1:2.2.11-2.el5s2
mysql
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.0.79-2.el5s2
0:5.0.79-2.el5s2
Show 70 moreShow less
Affected packages
PackageAffectedFixed
mysql-bench
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.0.79-2.el5s2
0:5.0.79-2.el5s2
mysql-cluster
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.0.79-2.el5s2
0:5.0.79-2.el5s2
mysql-connector-odbc
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:3.51.27r695-1.el5s2
0:3.51.27r695-1.el5s2
mysql-connector-odbc-debuginfo
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:3.51.27r695-1.el5s2
0:3.51.27r695-1.el5s2
mysql-debuginfo
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.0.79-2.el5s2
0:5.0.79-2.el5s2
mysql-devel
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.0.79-2.el5s2
0:5.0.79-2.el5s2
mysql-libs
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.0.79-2.el5s2
0:5.0.79-2.el5s2
mysql-server
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.0.79-2.el5s2
0:5.0.79-2.el5s2
mysql-test
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.0.79-2.el5s2
0:5.0.79-2.el5s2
perl-DBD-MySQL
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:4.010-1.el5s2
0:4.010-1.el5s2
perl-DBD-MySQL-debuginfo
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:4.010-1.el5s2
0:4.010-1.el5s2
perl-DBD-Pg
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:1.49-5.el5s2
0:1.49-5.el5s2
perl-DBD-Pg-debuginfo
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:1.49-5.el5s2
0:1.49-5.el5s2
php
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-bcmath
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-cli
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-common
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-dba
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-debuginfo
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-devel
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-gd
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-imap
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-ldap
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-mbstring
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-mysql
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-ncurses
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-odbc
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-pdo
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-pgsql
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-snmp
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-soap
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-xml
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
php-xmlrpc
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:5.2.9-2.el5s2
0:5.2.9-2.el5s2
postgresql
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:8.2.13-2.el5s2
0:8.2.13-2.el5s2
postgresql-contrib
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:8.2.13-2.el5s2
0:8.2.13-2.el5s2
postgresql-debuginfo
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:8.2.13-2.el5s2
0:8.2.13-2.el5s2
postgresql-devel
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:8.2.13-2.el5s2
0:8.2.13-2.el5s2
postgresql-docs
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:8.2.13-2.el5s2
0:8.2.13-2.el5s2
postgresql-jdbc
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:8.2.509-2jpp.el5s2
0:8.2.509-2jpp.el5s2
postgresql-jdbc-debuginfo
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:8.2.509-2jpp.el5s2
0:8.2.509-2jpp.el5s2
postgresql-libs
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:8.2.13-2.el5s2
0:8.2.13-2.el5s2
postgresql-plperl
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:8.2.13-2.el5s2
0:8.2.13-2.el5s2
postgresql-plpython
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:8.2.13-2.el5s2
0:8.2.13-2.el5s2
postgresql-pltcl
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:8.2.13-2.el5s2
0:8.2.13-2.el5s2
postgresql-python
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:8.2.13-2.el5s2
0:8.2.13-2.el5s2
postgresql-server
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:8.2.13-2.el5s2
0:8.2.13-2.el5s2
postgresql-tcl
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:8.2.13-2.el5s2
0:8.2.13-2.el5s2
postgresql-test
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:8.2.13-2.el5s2
0:8.2.13-2.el5s2
postgresqlclient81
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:8.1.17-1.el5s2
0:8.1.17-1.el5s2
postgresqlclient81-debuginfo
Red Hat:rhel_application_stack:2
From an advisory covering 5 CVEs
before 0:8.1.17-1.el5s2
0:8.1.17-1.el5s2
mysql
Red Hat:enterprise_linux:4::as
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql-bench
Red Hat:enterprise_linux:4::as
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql-debuginfo
Red Hat:enterprise_linux:4::as
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql-devel
Red Hat:enterprise_linux:4::as
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql-server
Red Hat:enterprise_linux:4::as
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql
Red Hat:enterprise_linux:4::desktop
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql-bench
Red Hat:enterprise_linux:4::desktop
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql-debuginfo
Red Hat:enterprise_linux:4::desktop
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql-devel
Red Hat:enterprise_linux:4::desktop
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql-server
Red Hat:enterprise_linux:4::desktop
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql
Red Hat:enterprise_linux:4::es
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql-bench
Red Hat:enterprise_linux:4::es
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql-debuginfo
Red Hat:enterprise_linux:4::es
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql-devel
Red Hat:enterprise_linux:4::es
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql-server
Red Hat:enterprise_linux:4::es
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql
Red Hat:enterprise_linux:4::ws
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql-bench
Red Hat:enterprise_linux:4::ws
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql-debuginfo
Red Hat:enterprise_linux:4::ws
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql-devel
Red Hat:enterprise_linux:4::ws
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3
mysql-server
Red Hat:enterprise_linux:4::ws
From an advisory covering 4 CVEs
before 0:4.1.22-2.el4_8.3
0:4.1.22-2.el4_8.3

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2008-4098 is a medium vulnerability (CVSS 4.6) in Mysql, published September 17, 2008. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.62%, the 76th percentile. Fixed in mysql-dfsg-5.0 5.0.32-7etch8.

References

Show 51 moreShow less
MoveEnter Open