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.
Severity
Not rated by the source.
Dates
Published
2014-02-14 15:55 UTC
Modified
2026-09-01 20:02 UTC
Affected packages and fixes
lxc
Debian packages (deb) · Debian 12
Affected
introduced 0, fixed 1.0.0-1 (ecosystem)
Fixed versions
1.0.0-1
Fix
Fixed version 1.0.0-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
lxc
Debian packages (deb) · Debian 13
Affected
introduced 0, fixed 1.0.0-1 (ecosystem)
Fixed versions
1.0.0-1
Fix
Fixed version 1.0.0-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
lxc
Debian packages (deb) · Debian 14
Affected
introduced 0, fixed 1.0.0-1 (ecosystem)
Fixed versions
1.0.0-1
Fix
Fixed version 1.0.0-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.