Symlink Attack Affecting mysql package, versions [5.5.0,5.5.52)[5.6.0,5.6.33)[5.7.0,5.7.15)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Mature
EPSS
21.4% (97th 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-2334410
  • published12 Jan 2022
  • disclosed13 Dec 2016
  • creditUnknown

Introduced: 13 Dec 2016

CVE-2016-6664  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade mysql to version 5.5.52, 5.6.33, 5.7.15 or higher.

Overview

Affected versions of this package are vulnerable to Symlink Attack mysqld_safe in Oracle MySQL through 5.5.51, 5.6.x through 5.6.32, and 5.7.x through 5.7.14; MariaDB; Percona Server before 5.5.51-38.2, 5.6.x before 5.6.32-78-1, and 5.7.x before 5.7.14-8; and Percona XtraDB Cluster before 5.5.41-37.0, 5.6.x before 5.6.32-25.17, and 5.7.x before 5.7.14-26.17, when using file-based logging, allows local users with access to the mysql account to gain root privileges via a symlink attack on error logs and possibly other files.

CVSS Scores

version 3.1