CVE-2019-18901
MariaDB Server vulnerability analysis and mitigation

Overview

A UNIX Symbolic Link (Symlink) Following vulnerability (CVE-2019-18901) was discovered in the mysql-systemd-helper of the mariadb packaging of SUSE Linux Enterprise Server 12 and SUSE Linux Enterprise Server 15. The vulnerability allows local attackers to change the permissions of arbitrary files to 0640. This issue affects SUSE Linux Enterprise Server 12 mariadb versions prior to 10.2.31-3.25.1 and SUSE Linux Enterprise Server 15 mariadb versions prior to 10.2.31-3.26.1 (NVD).

Technical details

The vulnerability exists in SUSE's specific mysql-systemd-helper script which unsafely operates on the path /var/lib/mysql/mysql_upgrade_info. The script performs echo and chmod operations on this file as root, while the /var/lib/mysql directory is owned by the mysql user. This creates a race condition that can be exploited through a symlink attack (SUSE Bug). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 MEDIUM (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N) by NIST NVD (NVD).

Impact

The vulnerability allows local attackers to modify file permissions of arbitrary files to 0640. While the chmod operation doesn't make files world-readable, it still presents a security risk as it allows unauthorized permission modifications (SUSE Bug).

Mitigation and workarounds

The vulnerability has been fixed in SUSE Linux Enterprise Server 12 mariadb version 10.2.31-3.25.1 and SUSE Linux Enterprise Server 15 mariadb version 10.2.31-3.26.1. Users should upgrade to these or later versions. The fix involves either creating the mysql_upgrade_info file in a safe location owned by root or ensuring it's created by the user that owns the /var/lib/mysql directory (OpenSUSE Update).

Additional resources


SourceThis report was generated using AI

Related MariaDB Server vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13699HIGH7
  • MariaDB ServerMariaDB Server
  • mariadb1011-connect-engine
NoYesDec 23, 2025
CVE-2025-30722MEDIUM6.8
  • MySQLMySQL
  • mysql-debugsource
NoYesApr 15, 2025
CVE-2025-30693MEDIUM5.5
  • MySQLMySQL
  • mariadb-10.6
NoYesApr 15, 2025
CVE-2023-52971MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb-11.6
NoYesMar 08, 2025
CVE-2023-52970MEDIUM4.9
  • MariaDB ServerMariaDB Server
  • mariadb:10.11::mariadb-backup
NoYesMar 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management