Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-m5gf-432r-g5jw

Опубликовано: 21 сент. 2026
Источник: github
Github: Не прошло ревью
CVSS3: 8.4

Описание

Insecure $HOME in MariaDB rpm packages

Impact

MariaDB rpm packages created a dedicated mysql user to run mariadbd as, and this user had its home dir set to the datadir. Such a configuration allowed a malicious user with FILE privilege to create various dot-files in $HOME. For example, a .bash_profile would be executed when someone does su - mysql -s /bin/bash.

MariaDB deb packages are not vulnerable, as the home there is set to /nonexistent.

Patches

Fixed in 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2.

Workarounds

Change the home for mysql user to something mariadbd cannot write to. For example usermod -d / mysql or usermod -d /nonexistent mysql.

Пакеты

Наименование

mariadb

mariadb
Затронутые версииВерсия исправления

>=10.6.1, <=10.6.27

10.6.28

Наименование

mariadb

mariadb
Затронутые версииВерсия исправления

>=10.11.1, <=10.11.18

10.11.19

Наименование

mariadb

mariadb
Затронутые версииВерсия исправления

>=11.4.1, <=11.4.12

11.4.13

Наименование

mariadb

mariadb
Затронутые версииВерсия исправления

>=11.8.1, <=11.8.8

11.8.9

Наименование

mariadb

mariadb
Затронутые версииВерсия исправления

>=12.3.1, <=12.3.2

12.3.3

Наименование

mariadb

mariadb
Затронутые версииВерсия исправления

13.0.1

13.0.2

EPSS

Процентиль: 19%
0.00281
Низкий

8.4 High

CVSS3

Дефекты

CWE-732

Связанные уязвимости

CVSS3: 8.4
redhat
5 дней назад

MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, MariaDB RPM packages created the dedicated mysql service account with the database data directory as its home directory. A database user with the FILE privilege could write startup dot-files such as .bash_profile into $HOME, and those files could execute when an administrator opened a login shell for the mysql account. Debian packages are not affected because they use /nonexistent as the account home. This issue is fixed in versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.

CVSS3: 8.4
nvd
5 дней назад

MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, MariaDB RPM packages created the dedicated mysql service account with the database data directory as its home directory. A database user with the FILE privilege could write startup dot-files such as .bash_profile into $HOME, and those files could execute when an administrator opened a login shell for the mysql account. Debian packages are not affected because they use /nonexistent as the account home. This issue is fixed in versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.

CVSS3: 8.4
debian
5 дней назад

MariaDB server is a community developed fork of MySQL server. From 10. ...

EPSS

Процентиль: 19%
0.00281
Низкий

8.4 High

CVSS3

Дефекты

CWE-732