CVEfocus › CVE database › CVE-2018-6556

CVE-2018-6556The lxc-user-nic component of LXC allows unprivileged users to open arbitrary files

CVSS 3.3 LowEPSS 0.4% (higher than 29% of CVEs)Published 2018-08-10Updated 2024-09-17Assigner: canonical

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.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

23Fixed
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04lxcFixed3.0.1-0ubuntu1~18.04.2UBUNTU-CVE-2018-6556
Ubuntu 16.04lxcNot affected
vulnerable_code_not_present
Ubuntu 14.04lxcNot affected
vulnerable_code_not_present
Debian 14lxcFixed1:2.0.9-6.1DEBIAN-CVE-2018-6556
Debian 13lxcFixed1:2.0.9-6.1DEBIAN-CVE-2018-6556
Debian 12lxcFixed1:2.0.9-6.1DEBIAN-CVE-2018-6556
Alpine Linux 3.24lxcFixed2.1.1-r9ALPINE-CVE-2018-6556
Alpine Linux 3.23lxcFixed2.1.1-r9ALPINE-CVE-2018-6556
Alpine Linux 3.22lxcFixed2.1.1-r9ALPINE-CVE-2018-6556
Alpine Linux 3.21lxcFixed2.1.1-r9ALPINE-CVE-2018-6556
Alpine Linux 3.20lxcFixed2.1.1-r9ALPINE-CVE-2018-6556
Alpine Linux 3.19lxcFixed2.1.1-r9ALPINE-CVE-2018-6556
Alpine Linux 3.18lxcFixed2.1.1-r9ALPINE-CVE-2018-6556
Alpine Linux 3.17lxcFixed2.1.1-r9ALPINE-CVE-2018-6556
Alpine Linux 3.16lxcFixed2.1.1-r9ALPINE-CVE-2018-6556
Alpine Linux 3.15lxcFixed2.1.1-r9ALPINE-CVE-2018-6556
Alpine Linux 3.14lxcFixed2.1.1-r9ALPINE-CVE-2018-6556
Alpine Linux 3.13lxcFixed2.1.1-r9ALPINE-CVE-2018-6556
Alpine Linux 3.12lxcFixed2.1.1-r9ALPINE-CVE-2018-6556
Alpine Linux 3.11lxcFixed2.1.1-r9ALPINE-CVE-2018-6556
Alpine Linux 3.10lxcFixed2.1.1-r9ALPINE-CVE-2018-6556
Alpine Linux 3.9lxcFixed2.1.1-r9ALPINE-CVE-2018-6556
Alpine Linux 3.8lxcFixed2.1.1-r9ALPINE-CVE-2018-6556
Alpine Linux 3.7lxcFixed2.1.1-r3ALPINE-CVE-2018-6556
Alpine Linux 3.6lxcFixed2.0.9-r1ALPINE-CVE-2018-6556

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.