CVE-2018-6556
publishedThe lxc-user-nic component of LXC allows unprivileged users to open arbitrary files
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | LXC2.0.9 to < 2.0* (affected · custom) · 3.0.0 to < 3.0* (affected · custom); changes: unaffected at 3.0.2 | Version-specific | Not stated | canonical |
| Alpine Linux | edge | lxc | Fixed | 2.1.1-r9 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.0 | liblxc-develx86_64 | Advisory build | 3.1.0-lp150.2.10.1 | OPENSUSE-SU-2019:1275-1 |
| Ubuntu | bionic | liblxc-common | Advisory build | 3.0.1-0ubuntu1~18.04.2 | USN-3730-1 |
| Alpine Linux | v3.10 | lxc | Fixed | 2.1.1-r9 | Package fix record |
| Alpine Linux | v3.11 | lxc | Fixed | 2.1.1-r9 | Package fix record |
| Alpine Linux | v3.12 | lxc | Fixed | 2.1.1-r9 | Package fix record |
| Alpine Linux | v3.13 | lxc | Fixed | 2.1.1-r9 | Package fix record |
Show 46 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.14 | lxc | Fixed | 2.1.1-r9 | Package fix record |
| Alpine Linux | v3.15 | lxc | Fixed | 2.1.1-r9 | Package fix record |
| Alpine Linux | v3.16 | lxc | Fixed | 2.1.1-r9 | Package fix record |
| Alpine Linux | v3.17 | lxc | Fixed | 2.1.1-r9 | Package fix record |
| Alpine Linux | v3.18 | lxc | Fixed | 2.1.1-r9 | Package fix record |
| Alpine Linux | v3.19 | lxc | Fixed | 2.1.1-r9 | Package fix record |
| Alpine Linux | v3.20 | lxc | Fixed | 2.1.1-r9 | Package fix record |
| Alpine Linux | v3.21 | lxc | Fixed | 2.1.1-r9 | Package fix record |
| Alpine Linux | v3.22 | lxc | Fixed | 2.1.1-r9 | Package fix record |
| Alpine Linux | v3.23 | lxc | Fixed | 2.1.1-r9 | Package fix record |
| Alpine Linux | v3.24 | lxc | Fixed | 2.1.1-r9 | Package fix record |
| Alpine Linux | v3.6 | lxc | Fixed | 2.0.9-r1 | Package fix record |
| Alpine Linux | v3.7 | lxc | Fixed | 2.1.1-r3 | Package fix record |
| Alpine Linux | v3.8 | lxc | Fixed | 2.1.1-r9 | Package fix record |
| Alpine Linux | v3.9 | lxc | Fixed | 2.1.1-r9 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.0 | liblxc1x86_64 | Advisory build | 3.1.0-lp150.2.10.1 | OPENSUSE-SU-2019:1275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | lxcx86_64 | Advisory build | 3.1.0-lp150.2.10.1 | OPENSUSE-SU-2019:1275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | lxc-bash-completionnoarch | Advisory build | 3.1.0-lp150.2.10.1 | OPENSUSE-SU-2019:1275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | lxcfsx86_64 | Advisory build | 3.0.3-lp150.2.3.1 | OPENSUSE-SU-2019:1275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | lxcfs-hooks-lxcnoarch | Advisory build | 3.0.3-lp150.2.3.1 | OPENSUSE-SU-2019:1275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | pam_cgfsx86_64 | Advisory build | 3.1.0-lp150.2.10.1 | OPENSUSE-SU-2019:1275-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblxc-develaarch64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblxc-develppc64le | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblxc-devels390x | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblxc-develx86_64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblxc1aarch64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblxc1ppc64le | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblxc1s390x | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblxc1x86_64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lxcaarch64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lxcppc64le | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lxcs390x | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lxcx86_64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lxc-bash-completionaarch64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lxc-bash-completionppc64le | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lxc-bash-completions390x | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lxc-bash-completionx86_64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pam_cgfsaarch64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pam_cgfsppc64le | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pam_cgfss390x | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pam_cgfsx86_64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| Ubuntu | bionic | liblxc1 | Advisory build | 3.0.1-0ubuntu1~18.04.2 | USN-3730-1 |
| Ubuntu | bionic | libpam-cgfs | Advisory build | 3.0.1-0ubuntu1~18.04.2 | USN-3730-1 |
| Ubuntu | bionic | lxc | Advisory build | 3.0.1-0ubuntu1~18.04.2 | USN-3730-1 |
| Ubuntu | bionic | lxc-utils | Advisory build | 3.0.1-0ubuntu1~18.04.2 | USN-3730-1 |
| Ubuntu | bionic | lxc1 | Advisory build | 3.0.1-0ubuntu1~18.04.2 | USN-3730-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | LXC | 2.0.9 to < 2.0* (affected · custom)3.0.0 to < 3.0* (affected · custom); changes: unaffected at 3.0.2 | canonical · cna |
Weaknesses
1- Incorrect access control
References
8- openSUSE-SU-2019:1227 http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00074.html
- openSUSE-SU-2019:1230 http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00076.html
- openSUSE-SU-2019:1275 http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00091.html
- openSUSE-SU-2019:1481 http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html
- https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1783591
- https://bugzilla.suse.com/show_bug.cgi?id=988348
- GLSA-201808-02 https://security.gentoo.org/glsa/201808-02
- USN-3730-1 https://usn.ubuntu.com/usn/usn-3730-1
Provider assertions
2canonical · cna
The lxc-user-nic component of LXC allows unprivileged users to open arbitrary files
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2801f9689fe34cebb0e7d774bfa8ff7d1f6b0e49264b5051666678a9da77ed4c
- Ingested
- 23 Sep 2026, 07:45:01 UTC
- Source record
- Official CVE record