CVE-2017-15945: The installation scripts in the Gentoo dev-db/mysql, dev-db/mariadb, dev-db/percona-server, dev-db/mysql-clust
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 score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 69%) |
| CISA exploited list | No |
| Weakness | CWE-732 |
| Published | 2017-10-27 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
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
- CVE-2026-97380 HIGH 8.8 UPGRADE MariaDB server is a community developed fork of MySQL server
- CVE-2026-49261 CRITICAL 10.0 UPGRADE MariaDB server is a community developed fork of MySQL server
- CVE-2026-44170 CRITICAL 9.8 UPGRADE MariaDB server is a community developed fork of MySQL server
- CVE-2026-44172 CRITICAL 9.1 DOWNGRADE MITIGATE MariaDB server is a community developed fork of MySQL server
- CVE-2026-48165 HIGH 8.0 UPGRADE MariaDB server is a community developed fork of MySQL server