VDB

CVE-2018-6556

CVE-2018-6556 PUBLISHED

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.

PackageEcosystemFixed in
lxcArch Linux1:3.0.2-1
lxcAlpine2.1.1-r9, 2.1.1-r3, 2.0.9-r1
lxcUbuntu:18.04:LTS3.0.1-0ubuntu1~18.04.2
lxclinuxcontainers3.0.2, 2.0.9

Affected products

VendorProductVersions
n/aLXC2.0.9, 3.0.0
archlxc0
alpinelxc0, 0, 0
n/aLXC2.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›