CVE-2018-6556

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

N/A
Published: August 10, 2018 at 03:00 PM UTC
Updated: June 17, 2026 at 02:02 AM UTC
6 products affected across 4 vendorsUbuntu LinuxLeapSUSE Linux Enterprise Server

Using LXC by N/A?

Get instant alerts when new vulnerabilities affect LXC - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.3%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.0.0 ≤ v ≤ 2.0.92.0.9 ≤ v < 2.0*3.0.0 ≤ v < 3.0*3.0.0 ≤ v < 3.0.22.0.93.0.0
Affected range stops below 2.0*, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.0*, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.0.2, so it looks safe — our inference, not a vendor statement

References (8)

Vendor Advisoryx_refsource_SUSEMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00074.html
Vendor Advisoryx_refsource_SUSEMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00076.html
Vendor Advisoryx_refsource_SUSEMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00091.html
x_refsource_CONFIRMIssue TrackingThird Party Advisory
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1783591
x_refsource_CONFIRMIssue TrackingPatch
https://bugzilla.suse.com/show_bug.cgi?id=988348
Vendor Advisoryx_refsource_GENTOOThird Party Advisory
https://security.gentoo.org/glsa/201808-02
Vendor Advisoryx_refsource_UBUNTUThird Party Advisory
https://usn.ubuntu.com/usn/usn-3730-1

CVSS

Confidentiality
PARTIAL
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-417

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card