Symlink Attack Affecting mysql package, versions [,5.1.41)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-MYSQL-2334692
  • published12 Jan 2022
  • disclosed30 Nov 2009
  • creditUnknown

Introduced: 30 Nov 2009

CVE-2009-4030  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade mysql to version 5.1.41 or higher.

Overview

Affected versions of this package are vulnerable to Symlink Attack. 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.

CVSS Scores

version 3.1