Access Restriction Bypass Affecting mysql package, versions [,5.0.51)[5.1.0,5.1.23)[6.0.0,6.0.4)


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.63% (80th 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 Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-MYSQL-2334301
  • published12 Jan 2022
  • disclosed10 Dec 2007
  • creditUnknown

Introduced: 10 Dec 2007

CVE-2007-6303  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade mysql to version 5.0.51, 5.1.23, 6.0.4 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. MySQL 5.0.x before 5.0.51a, 5.1.x before 5.1.23, and 6.0.x before 6.0.4 does not update the DEFINER value of a view when the view is altered, which allows remote authenticated users to gain privileges via a sequence of statements including a CREATE SQL SECURITY DEFINER VIEW statement and an ALTER VIEW statement.

References

CVSS Scores

version 3.1