Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl...
by transpute on Saturday March 30, 2024 @07:16PM
(#39879590)
https://news.ycombinator.com/item?id=39879559
> Libselinux pulls in liblzma too
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl...
by treasy on Saturday March 30, 2024 @07:31PM
(#39879687)
libselinux is the userspace tooling for selinux, it is irrelevant to this specific discussion as the backdoor does not target selinux in any way, and sshd does not have the capabilities required to make use of the libselinux tooling anyway
libselinux is just an unwitting vector to link liblzma with openssh
by default sshd has access to all files in /home/$user/.ssh/, but that could be prevented by giving private keys a new unique file context, etc.
SELinux would not prevent all attacks, but it can mitigate quite a few as part of a larger security posture