CVE-2008-7247
sql/sql_table.cc in MySQL 5.0.x through 5.0.88, 5.1.x through 5.1.41, and 6.0 before 6.0.9-alpha, when the data home directory contains…
Check your servers for CVE-2008-7247
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2008-7247 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
sql/sql_table.cc in MySQL 5.0.x through 5.0.88, 5.1.x through 5.1.41, and 6.0 before 6.0.9-alpha, when the data home directory contains a symlink to a different filesystem, allows remote authenticated users to bypass intended access restrictions by calling CREATE TABLE with a (1) DATA DIRECTORY or (2) INDEX DIRECTORY argument referring to a subdirectory that requires following this symlink.
Exploitation
EPSS 1.77%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 78.6% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2008-7247 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2008-7247RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2008-7247Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2008-7247
trivy image --scanners vuln IMAGE | grep CVE-2008-7247
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- USN-1397-1 ubuntu.com · vendor advisory
- 38517 secunia.com · third party advisory
- USN-897-1 ubuntu.com · vendor advisory
- SUSE-SR:2010:011 lists.opensuse.org · vendor advisory
- http://bugs.mysql.com/bug.php?id=39277 bugs.mysql.com
- APPLE-SA-2010-03-29-1 lists.apple.com · vendor advisory
- http://support.apple.com/kb/HT4077 support.apple.com
- SUSE-SR:2010:021 lists.opensuse.org · vendor advisory
- MDVSA-2010:044 mandriva.com · vendor advisory
Other references
- ADV-2010-1107 vupen.com · vdb entry
- [oss-security] 20091124 Re: mysql-5.1.41 marc.info · mailing list
- https://bugzilla.redhat.com/show_bug.cgi?id=543619 bugzilla.redhat.com
- 38043 securityfocus.com · vdb entry
- [commits] 20081124 bzr commit into mysql-6.0-backup branch (ingo.struewing:2744) Bug#39277 lists.mysql.com · mailing list
Source: the record CVE-2008-7247 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse