Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2017-15945: The installation scripts in the Gentoo dev-db/mysql, dev-db/mariadb, dev-db/percona-server, dev-db/mysql-clust

40
This month
HIGH 7.8WATCHLISTUPGRADEUPGRADE

CVE-2017-15945 is a high-severity flaw (CVSS 7.8) affecting mariadb, mysql. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

The installation scripts in the Gentoo dev-db/mysql, dev-db/mariadb, dev-db/percona-server, dev-db/mysql-cluster, and dev-db/mariadb-galera packages before 2017-09-29 have chown calls for user-writable directory trees, which allows local users to gain privileges by leveraging access to the mysql account for creation of a link.

Why this priority

  • High severity
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score7.8 (High)
Attack vectorLocal
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.4% (top 69%)
CISA exploited listNo
WeaknessCWE-732
Published2017-10-27
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: mariadb · mysql

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

mariadb mariadb UPGRADE
Affected: < 10.0.30
Fixed in: 10.0.30
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy mariadb || rpm -q mariadb || mariadb --version
2. UPGRADE to 10.0.30 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade mariadb
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade mariadb
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
mysql mysql UPGRADE
Affected: < 5.6.36
Fixed in: 5.6.36
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy mysql || rpm -q mysql || mysql --version
2. UPGRADE to 5.6.36 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade mysql
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade mysql
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2017-15945?

mariadb: upgrade to 10.0.30; mysql: upgrade to 5.6.36. Exact commands for each OS are on this page.

Is CVE-2017-15945 being exploited?

CVE-2017-15945 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2017-15945 affect?

CVE-2017-15945 affects mariadb, mysql. Severity is high (CVSS 7.8). The installation scripts in the Gentoo dev-db/mysql, dev-db/mariadb, dev-db/percona-server, dev-db/mysql-cluster, and dev-db/mariadb-galera packages before 2017-09-29 have chown calls for user-writable directory trees, which allows local us

How urgent is CVE-2017-15945?

Priority 40/100. High severity; On your watchlist

Software pages

MySQL vulnerabilities · MariaDB vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.