A Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the mkfifo utility of uutils coreutils. The utility creates a FIFO and then performs a path-based chmod to set permissions. A local attacker with write access to the parent directory can swap the newly created FIFO for a symbolic link between these two operations. This redirects the chmod call to an arbitrary file, potentially enabling privilege escalation if the utility is run with elevated privileges.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HUutils Coreutils
APPUutilsall versions
Related vulnerabilities
A vulnerability exists in the chroot utility of uutils coreutils when using the --userspec option. The utility...
A vulnerability in the chmod utility of uutils coreutils allows users to bypass the --preserve-root safety mec...
A vulnerability in uutils coreutils mkfifo allows for the unauthorized modification of permissions on existing...
Wada w ChownExecutor używanym przez narzędzia chown i chgrp z uutils coreutils powoduje zwracanie nieprawidłow...
Tryb rekurencyjny (-R) narzędzia chmod w uutils coreutils nieprawidłowo obsługuje kody wyjścia podczas przetwa...