CVE-2018-6556
The lxc-user-nic component of LXC allows unprivileged users to open arbitrary files
Reported by canonical · Published August 10, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| lxc | Arch Linux | 1:3.0.2-1 |
| lxc | Alpine | 2.1.1-r9, 2.1.1-r3, 2.0.9-r1 |
| lxc | Ubuntu:18.04:LTS | 3.0.1-0ubuntu1~18.04.2 |
| lxc | linuxcontainers | 3.0.2, 2.0.9 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | LXC | 2.0.9, 3.0.0 |
| arch | lxc | 0 |
| alpine | lxc | 0, 0, 0 |
| n/a | LXC | 2.0.9, 3.0.0 |
Timeline
- Aug 6, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 6, 2026 Security Advisory (10 in total, the first dated here)
- Sep 19, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-6556
vulnetix vdb fixes CVE-2018-6556
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-6556/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-3730-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- GLSA-201808-02 vendor-advisoryx_refsource_GENTOO
- x_refsource_CONFIRM
- openSUSE-SU-2019:1227 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2019:1230 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2019:1275 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2019:1481 vendor-advisoryx_refsource_SUSE