Access Restriction Bypass Affecting mysql package, versions [,5.0.90)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.06% (29th 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-2334167
  • published12 Jan 2022
  • disclosed9 Oct 2012
  • creditUnknown

Introduced: 9 Oct 2012

CVE-2012-4452  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade mysql to version 5.0.90 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. MySQL 5.0.88, and possibly other versions and platforms, 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 a CVE-2009-4030 regression, which was not omitted in other packages and versions such as MySQL 5.0.95 in Red Hat Enterprise Linux 6.

CVSS Scores

version 3.1