Описание
chroot in GNU coreutils, when used with --userspec, allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input buffer.
Пакеты
Пакет | Статус | Версия исправления | Релиз | Тип |
---|---|---|---|---|
coreutils | fixed | 9.4-1 | package | |
coreutils | ignored | bookworm | package | |
coreutils | ignored | bullseye | package | |
coreutils | ignored | buster | package | |
coreutils | ignored | stretch | package | |
coreutils | ignored | jessie | package | |
coreutils | ignored | wheezy | package |
Примечания
Restricting ioctl on the kernel side seems the better approach, but rejected by Linux upstream
Fixing this issue via setsid() would introduce regressions:
https://www.kernel.org/pub/linux/utils/util-linux/v2.28/v2.28-ReleaseNotes
Since Linux 6.4.4-1 (uploaded on 23 Jul 2023), TIOCSTI is disabled on the
kernel side, marking the first coreutils upload after that date (9.4-1) as the
fixed version
EPSS
Связанные уязвимости
chroot in GNU coreutils, when used with --userspec, allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input buffer.
chroot in GNU coreutils, when used with --userspec, allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input buffer.
chroot in GNU coreutils, when used with --userspec, allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input buffer.
chroot in GNU coreutils, when used with --userspec, allows local users to escape to the parent session via a crafted TIOCSTI ioctl call, which pushes characters to the terminal's input buffer.
EPSS