CVE-2008-7247 json
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 s…
published 2009-11-30 16 y ago modified 2026-06-16 4 mo ago also EUVD-2008-7205
- cvss
- 6.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- 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-2008-7247 updated cvss 4.0
MySQL: Intended access restrictions bypass
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
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
1.77% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugs.mysql.com http://bugs.mysql.com/bug.php?id=39277 referenced PoC, tagged "exploit" by a source, unverified
- lists.mysql.com http://lists.mysql.com/commits/59711 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
- Technology feeds
References
-
bugs.mysql.com
/bug.php?id=39277
exploit
-
lists.mysql.com
/commits/59711
mailing-list, exploit
-
ubuntu.com
/usn/USN-1397-1
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
-
lists.opensuse.org
/opensuse-security-announce/2010-11/msg00005.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2010:044
vendor-advisory
-
secunia.com
/advisories/38517
third-party-advisory
-
vupen.com
/english/advisories/2010/1107
vdb-entry
- support.apple.com /kb/HT4077
-
marc.info
/?l=oss-security&m=125908040022018&w=2
mailing-list
- bugzilla.redhat.com /show_bug.cgi?id=543619
-
securityfocus.com
/bid/38043
vdb-entry
Sources
- CVE List CVE-2008-7247
- NVD CVE-2008-7247
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.