bubblewrap icon indicating copy to clipboard operation
bubblewrap copied to clipboard

/usr/bin/bwrap should be immutable and have 4111 permissions

Open DemiMarie opened this issue 6 years ago • 0 comments

This ensures that no process can overwrite it unless it has CAP_LINUX_IMMUTABLE, which helps protect against /proc/self/exe vulnerabilities. That said, Mandatory Access Control (such as SELinux, AppArmor, or SMACK) is probably a better way to prevent these attacks. Also, bwrap has legitimate uses other than sandboxing: it can be used purely to virtualize the filesystem, for example.

DemiMarie avatar Jun 25 '19 02:06 DemiMarie