| Name | CVE-2013-6441 |
| Description | The lxc-sshd template (templates/lxc-sshd.in) in LXC before 1.0.0.beta2 uses read-write permissions when mounting /sbin/init, which allows local users to gain privileges by modifying the init file. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-442-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| lxc (PTS) | bullseye | 1:4.0.6-2+deb11u2 | fixed |
| bookworm | 1:5.0.2-1+deb12u3 | fixed |
| trixie | 1:6.0.4-4 | fixed |
| forky, sid | 1:6.0.5-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| lxc | source | squeeze | 0.7.2-1+deb6u1 | | DLA-442-1 | |
| lxc | source | (unstable) | 1.0.0-1 | unimportant | | |
Notes
getting root on host, if not using unprivileged containers or
restricting the containers with apparmor or selinux.
CVE is kept as no official documentation explicitly document this fact
https://github.com/lxc/lxc/commit/f4d5cc8e1f39d132b61e110674528cac727ae0e2 (lxc-1.0.0.beta2)