Debian Patches

Status for lxc/1:4.0.6-2+deb11u2

Patch Description Author Forwarded Bugs Origin Last update
0004-apparmor.d-Sets-container-base-accordingly-to-container-base.in.patch [apparmor.d] Sets container-base accordingly to container-base.in =?utf-8?q?Pierre-Elliott_B=C3=A9cue?= <peb@debian.org> no 2019-08-05
0005-lxc.service-Starts-after-remote-fs.target.patch [lxc.service] Starts after remote-fs.target =?utf-8?q?Pierre-Elliott_B=C3=A9cue?= <peb@debian.org> no 2019-08-05
0006-lxc.pc.in-removes-DLOG_LIBS-which-is-not-expanded-up.patch lxc.pc.in: removes @DLOG_LIBS@ which is not expanded upon build =?utf-8?q?Pierre-Elliott_B=C3=A9cue?= <peb@debian.org> no 2019-08-05
0007-conf-fix-containers-retaining-CAP_NET_ADMIN.patch conf: fix containers retaining CAP_NET_ADMIN
Historically, /proc/sys/net is rw when proc:mixed is used as a proc
mount parameter. This was broken somewhere in lxc 4, and this patch
fixed it.
=?utf-8?q?Pierre-Elliott_B=C3=A9cue?= <peb@debian.org> no 2021-06-11
0005-lxc-download-Switch-GPG-server.patch lxc-download: Switch GPG server =?utf-8?q?St=C3=A9phane_Graber?= <stgraber@ubuntu.com> no 2021-06-27
fix-CVE-2022-47952.patch [PATCH] Patching an incoming CVE (CVE-2022-47952)
lxc-user-nic in lxc through 5.0.1 is installed setuid root, and may
allow local users to infer whether any file exists, even within a
protected directory tree, because "Failed to open" often indicates
that a file does not exist, whereas "does not refer to a network
namespace path" often indicates that a file exists. NOTE: this is
different from CVE-2018-6556 because the CVE-2018-6556 fix design was
based on the premise that "we will report back to the user that the
open() failed but the user has no way of knowing why it failed";
however, in many realistic cases, there are no plausible reasons for
failing except that the file does not exist.

PoC:
> % ls /l
> ls: cannot open directory '/l': Permission denied
> % /usr/lib/x86_64-linux-gnu/lxc/lxc-user-nic delete lol lol /l/h/tt h h
> cmd/lxc_user_nic.c: 1096: main: Failed to open "/l/h/tt" <----- file does not exist.
> % /usr/lib/x86_64-linux-gnu/lxc/lxc-user-nic delete lol lol /l/h/t h h
> cmd/lxc_user_nic.c: 1101: main: Path "/l/h/t" does not refer to a network namespace path <---- file exist!
Maher Azzouzi <maherazz04@gmail.com> no 2022-12-25

All known versions for source package 'lxc'

Links