Can someone explain user namespaces and risks to me? - Infosec.Pub (infosec.pub)
from Pantherina@feddit.de to linux@lemmy.ml on 08 Dec 2023 01:30
https://feddit.de/post/6483419

#linux

threaded - newest

Max_P@lemmy.max-p.me on 08 Dec 2023 01:53 collapse

There’s historically been some privilege escalations, such as cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-3…

But at the same time, they do offer increased security when they work correctly. It’s like saying we shouldn’t use virtualization anymore because historically some virtual devices have been exploitable in a way that you could escape the VM. Or lately, Spectre/Meltdown. Or a bit of an older one, Rowhammer.

Sometimes, security measures open a hole while closing many others. That’s how software works unfortunately, especially in something as complex as the Linux kernel.

Using namespaces and keeping your system up to date is the best you can do as a user. Or maybe add a layer of VM. But no solution is foolproof, if you really need that much security use multiple devices, ideally airgapped ones whenever possible.

Pantherina@feddit.de on 08 Dec 2023 16:23 collapse

Thanks. But is not using user namespaces just as bad as having no isolation, or can bubblewrap-suid or even Browsers isolate anyways?

Because thats what makes me curious, does removing them for security make the system less secure?