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

Published Aug 10, 2018
·
Updated

Last updated 25 August 2025

Other sources

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.

Launchpad

Affected Software

10 affected componentsFixes available
Canonical Ubuntu Linux=18.04
linuxcontainers Lxc>=2.0.0<=2.0.9
linuxcontainers Lxc>=3.0.0<3.0.2
SUSE CaaS Platform=1.0
SUSE CaaS Platform=2.0
SUSE Openstack Cloud=6
SUSE SUSE Linux Enterprise Server=11-sp3
SUSE SUSE Linux Enterprise Server=11-sp4
openSUSE Leap=15.0
debian/lxc
1:4.0.6-2+deb11u21:5.0.2-1+deb12u31:6.0.4-4+deb13u11:6.0.5-2

Event History

Aug 10, 2018
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
DescriptionWeakness
Data Sourced
via NVD·03:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 5, 2024
Data Sourced
via Launchpad·06:21 AM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·08:39 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·08:39 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-6556?

CVE-2018-6556 is a vulnerability in lxc-user-nic where an unprivileged user can open a user provided path, potentially allowing them to check for the existence of a path they wouldn't otherwise be able to reach or trigger side effects.

2

What is the severity of CVE-2018-6556?

The severity of CVE-2018-6556 is low with a CVSS score of 3.3.

3

What software is affected by CVE-2018-6556?

The affected software includes lxc versions 3.0.1-0ubuntu1~18.04.2, 1:3.1.0+really3.0.3-8, 1:3.1.0+really3.0.3-8+deb10u1, 1:4.0.6-2+deb11u2, 1:5.0.2-1+deb12u1, and 1:5.0.3-1.

4

How do I fix CVE-2018-6556?

To fix CVE-2018-6556, update lxc to version 3.0.1-0ubuntu1~18.04.2 or apply the available patches depending on your distribution.

5

Where can I find more information about CVE-2018-6556?

You can find more information about CVE-2018-6556 at the following references: [link1], [link2], [link3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203