Incorrect Permission Assignment for Critical Resource Affecting mysql56-common package, versions <0:5.6.33-1.21.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
2.59% (90th 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-AMZN201803-MYSQL56COMMON-1702999
  • published27 Sept 2021
  • disclosed20 Sept 2016

Introduced: 20 Sep 2016

CVE-2016-6662  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 mysql56-common to version 0:5.6.33-1.21.amzn1 or higher.
This issue was patched in ALAS-2016-756.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mysql56-common package and not the mysql56-common package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB before 5.5.51, 10.0.x before 10.0.27, and 10.1.x before 10.1.17; and Percona Server before 5.5.51-38.1, 5.6.x before 5.6.32-78.0, and 5.7.x before 5.7.14-7 allow local users to create arbitrary configurations and bypass certain protection mechanisms by setting general_log_file to a my.cnf configuration. NOTE: this can be leveraged to execute arbitrary code with root privileges by setting malloc_lib. NOTE: the affected MySQL version information is from Oracle's October 2016 CPU. Oracle has not commented on third-party claims that the issue was silently patched in MySQL 5.5.52, 5.6.33, and 5.7.15.

References