Skip to content
OpenAdvisories
Unscored CVE-2018-6556 EUVD-2018-18308GHSA-xg68-6jxg-5w7p

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

Published Aug 10, 2018 · Updated Sep 17, 2024 · Assigned by canonical

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.

Affected products

VendorProductAffectedFixed
— LXC 2.0.9 – < 2.0*, 3.0.0 – < 3.0* 2.0*

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 lxc 1:2.0.9-6.1 —
Debian 13 lxc 1:2.0.9-6.1 —
Debian 12 lxc 1:2.0.9-6.1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS lxc 3.0.1-0ubuntu1~18.04.2 USN-3730-1
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 lxc 2.0.9-bp150.5.6.1 openSUSE-SU-2019:1230-1, openSUSE-SU-2019:1227-1
SUSE Package Hub 15 lxcfs 3.0.3-bp150.3.3.1 openSUSE-SU-2019:1227-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed lxc 4.0.9-1.1 openSUSE-SU-2024:11030-1
openSUSE Leap 15.0 lxc 3.1.0-lp150.2.10.1 openSUSE-SU-2019:1275-1
openSUSE Leap 15.0 lxcfs 3.0.3-lp150.2.3.1 openSUSE-SU-2019:1275-1
ReleasePackageFixed inAdvisory
Alpine v3.24 lxc 2.1.1-r9 —
Alpine v3.23 lxc 2.1.1-r9 —
Alpine v3.22 lxc 2.1.1-r9 —
Alpine v3.21 lxc 2.1.1-r9 —
Alpine v3.20 lxc 2.1.1-r9 —
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 lxc 2.1.1-r9 —
Alpine v3.18 lxc 2.1.1-r9 —
Alpine v3.17 lxc 2.1.1-r9 —
Alpine v3.16 lxc 2.1.1-r9 —
Alpine v3.15 lxc 2.1.1-r9 —
Alpine v3.14 lxc 2.1.1-r9 —
Alpine v3.13 lxc 2.1.1-r9 —
Alpine v3.12 lxc 2.1.1-r9 —
Alpine v3.11 lxc 2.1.1-r9 —
Alpine v3.10 lxc 2.1.1-r9 —
Alpine v3.9 lxc 2.1.1-r9 —
Alpine v3.8 lxc 2.1.1-r9 —
Alpine v3.7 lxc 2.1.1-r3 —
Alpine v3.6 lxc 2.0.9-r1 —

Advisories 5

References