{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-6556","id":"CVE-2018-6556","title":"The lxc-user-nic component of LXC allows unprivileged users to open arbitrary files","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","descriptionLong":"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.","published":"2018-08-10T15:00:00.000Z","updated":"2026-10-24T10:30:42.416648956Z","reserved":"2018-02-02T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"canonical","metric":{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"NVD"},"metrics":[{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"NVD"},{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"OSV"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","rating":"low","source":"NVD"}],"rating":"low","products":["LXC"],"affectedProducts":[{"vendor":"n/a","product":"LXC","defaultStatus":null,"versions":[{"lessThan":"2.0*","status":"affected","version":"2.0.9","versionType":"custom"},{"changes":[{"at":"3.0.2","status":"unaffected"}],"lessThan":"3.0*","status":"affected","version":"3.0.0","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-417"],"aliases":[],"references":[{"url":"https://usn.ubuntu.com/usn/usn-3730-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1783591","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://security.gentoo.org/glsa/201808-02","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=988348","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","fix"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00074.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00076.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00091.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0035,"epssPercentile":0.29126,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-6556","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6556","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-6556","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-6556","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}