Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #68985

Bug#977841: bubblewrap: needs transition to non-setuid to accompany linux/5.10.x

From Moritz Mühlenhoff <jmm@inutil.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#977841: bubblewrap: needs transition to non-setuid to accompany linux/5.10.x
Date 2020-12-26 19:50 +0100
Message-ID <BqmNz-6KX-7@gated-at.bofh.it> (permalink)
References <Boyzv-2vg-3@gated-at.bofh.it> <Boyzv-2vg-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Am Mon, Dec 21, 2020 at 06:55:36PM +0000 schrieb Simon McVittie:
> Package: bubblewrap
> Version: 0.4.1-1
> Severity: important
> Tags: security
> X-Debbugs-Cc: debian-kernel@lists.debian.org, team@security.debian.org
> The simplest and most robust thing would be for bubblewrap to depend on
> procps, and ship a file /usr/lib/sysctl.d/50-bubblewrap.conf containing:
> 
>     kernel.unprivileged_userns_clone=1

Why is this needed, given that anyone running a default bullseye kernel will have
that setting by default? Is this for the upgrade case before someone has rebooted
into the new kernel?

I would keep it simple: Make bubblewrap unconditionally depend on
unprivileged_userns_clone=1 and bail out with an error message if that's not the case.
There's a fair number of non-server use cases where it makes sense to disable
unprivileged user namespaces, but it seems like a fair tradeoff for bubblewrap
to simply depend on them being available.

Cheers,
        Moritz

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#977841: bubblewrap: needs transition to non-setuid to accompany linux/5.10.x Simon McVittie <smcv@debian.org> - 2020-12-21 20:00 +0100
  Bug#977841: bubblewrap: needs transition to non-setuid to accompany linux/5.10.x Moritz Mühlenhoff <jmm@inutil.org> - 2020-12-26 19:50 +0100
    Bug#977841: bubblewrap: needs transition to non-setuid to accompany linux/5.10.x Simon McVittie <smcv@debian.org> - 2020-12-26 21:50 +0100

csiph-web