Description
lxc-user-nic when asked to delete a network interface will unconditionally open a user provided path. This code path may be used by an unprivileged user to check for the existence of a path which they wouldn't otherwise be able to reach. It may also be used to trigger side effects by causing a (read-only) open of special kernel files (ptmx, proc, sys). Affected releases are LXC: 2.0 versions above and including 2.0.9; 3.0 versions above and including 3.0.0, prior to 3.0.2.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | LXC | 2.0.9 – < 2.0*, 3.0.0 – < 3.0* | 2.0* |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | lxc | 1:2.0.9-6.1 | — |
| Debian 13 | lxc | 1:2.0.9-6.1 | — |
| Debian 12 | lxc | 1:2.0.9-6.1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | lxc | 3.0.1-0ubuntu1~18.04.2 | USN-3730-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 | lxc | 2.0.9-bp150.5.6.1 | openSUSE-SU-2019:1230-1, openSUSE-SU-2019:1227-1 |
| SUSE Package Hub 15 | lxcfs | 3.0.3-bp150.3.3.1 | openSUSE-SU-2019:1227-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | lxc | 4.0.9-1.1 | openSUSE-SU-2024:11030-1 |
| openSUSE Leap 15.0 | lxc | 3.1.0-lp150.2.10.1 | openSUSE-SU-2019:1275-1 |
| openSUSE Leap 15.0 | lxcfs | 3.0.3-lp150.2.3.1 | openSUSE-SU-2019:1275-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | lxc | 2.1.1-r9 | — |
| Alpine v3.23 | lxc | 2.1.1-r9 | — |
| Alpine v3.22 | lxc | 2.1.1-r9 | — |
| Alpine v3.21 | lxc | 2.1.1-r9 | — |
| Alpine v3.20 | lxc | 2.1.1-r9 | — |
Show 14 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | lxc | 2.1.1-r9 | — |
| Alpine v3.18 | lxc | 2.1.1-r9 | — |
| Alpine v3.17 | lxc | 2.1.1-r9 | — |
| Alpine v3.16 | lxc | 2.1.1-r9 | — |
| Alpine v3.15 | lxc | 2.1.1-r9 | — |
| Alpine v3.14 | lxc | 2.1.1-r9 | — |
| Alpine v3.13 | lxc | 2.1.1-r9 | — |
| Alpine v3.12 | lxc | 2.1.1-r9 | — |
| Alpine v3.11 | lxc | 2.1.1-r9 | — |
| Alpine v3.10 | lxc | 2.1.1-r9 | — |
| Alpine v3.9 | lxc | 2.1.1-r9 | — |
| Alpine v3.8 | lxc | 2.1.1-r9 | — |
| Alpine v3.7 | lxc | 2.1.1-r3 | — |
| Alpine v3.6 | lxc | 2.0.9-r1 | — |
Advisories 5
- USN-3730-1 lxc vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- openSUSE-SU-2019:1227-1 Security update for lxc, lxcfs SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:1275-1 Security update for lxc, lxcfs SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11030-1 liblxc-devel-4.0.9-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:1230-1 Security update for lxc SUSE / openSUSE Security Updates · May 7, 2025
References
- USN-3730-1 vendor-advisory
- https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1783591
- GLSA-201808-02 vendor-advisory
- https://bugzilla.suse.com/show_bug.cgi?id=988348
- openSUSE-SU-2019:1227 vendor-advisory
- openSUSE-SU-2019:1230 vendor-advisory
- openSUSE-SU-2019:1275 vendor-advisory
- openSUSE-SU-2019:1481 vendor-advisory