Описание
A vulnerability in the rm utility of uutils coreutils allows a bypass of the --preserve-root protection. The implementation uses a path-string check rather than comparing device and inode numbers to identify the root directory. An attacker or accidental user can bypass this safeguard by using a symbolic link that resolves to the root directory (e.g., /tmp/rootlink -> /), potentially leading to the unintended recursive deletion of the entire root filesystem.
Ссылки
- Issue TrackingPatch
- Release Notes
Уязвимые конфигурации
EPSS
6.7 Medium
CVSS3
7.7 High
CVSS3
Дефекты
Связанные уязвимости
A vulnerability in the rm utility of uutils coreutils allows a bypass of the --preserve-root protection. The implementation uses a path-string check rather than comparing device and inode numbers to identify the root directory. An attacker or accidental user can bypass this safeguard by using a symbolic link that resolves to the root directory (e.g., /tmp/rootlink -> /), potentially leading to the unintended recursive deletion of the entire root filesystem.
A vulnerability in the rm utility of uutils coreutils allows a bypass ...
rm: --preserve-root bypassed via a symlink to / (string check instead of dev/inode)
EPSS
6.7 Medium
CVSS3
7.7 High
CVSS3