Vulnerability Name:

CVE-2018-6556 (CCN-148027)

Assigned:2018-08-07
Published:2018-08-07
Updated:2019-05-31
Summary: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.
CVSS v3 Severity:3.3 Low (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N)
2.9 Low (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): None
Availibility (A): None
6.5 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N)
5.7 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): None
Availibility (A): None
CVSS v2 Severity:2.1 Low (CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
6.8 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:C/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): None
Availibility (A): None
Vulnerability Type:CWE-417
Vulnerability Consequences:Obtain Information
References:Source: MITRE
Type: CNA
CVE-2018-6556

Source: SUSE
Type: Mailing List, Third Party Advisory
openSUSE-SU-2019:1227

Source: SUSE
Type: Mailing List, Third Party Advisory
openSUSE-SU-2019:1230

Source: SUSE
Type: Mailing List, Third Party Advisory
openSUSE-SU-2019:1275

Source: SUSE
Type: UNKNOWN
openSUSE-SU-2019:1481

Source: CCN
Type: oss-sec Mailing List, Mon, 6 Aug 2018 12:27:03 -0400
CVE-2018-6556: lxc-user-nic allows for open() of arbitrary paths

Source: CONFIRM
Type: Issue Tracking, Third Party Advisory
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1783591

Source: CCN
Type: Bugzilla – Bug 988348
(CVE-2018-6556) AUDIT-0: CVE-2018-6556: lxc: enable setuid bit on lxc-user-nic

Source: CONFIRM
Type: Issue Tracking, Patch
https://bugzilla.suse.com/show_bug.cgi?id=988348

Source: XF
Type: UNKNOWN
lxc-cve20186556-info-disc(148027)

Source: CCN
Type: lxc GIT Repository
CVE 2018-6556: verify netns fd in lxc-user-nic

Source: GENTOO
Type: Third Party Advisory
GLSA-201808-02

Source: UBUNTU
Type: Third Party Advisory
USN-3730-1

Vulnerable Configuration:Configuration 1:
  • cpe:/o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*

  • Configuration 2:
  • cpe:/a:linuxcontainers:lxc:*:*:*:*:*:*:*:* (Version >= 2.0.0 and <= 2.0.9)
  • OR cpe:/a:linuxcontainers:lxc:*:*:*:*:*:*:*:* (Version >= 3.0.0 and < 3.0.2)

  • Configuration 3:
  • cpe:/a:suse:caas_platform:1.0:*:*:*:*:*:*:*
  • OR cpe:/a:suse:caas_platform:2.0:*:*:*:*:*:*:*
  • OR cpe:/a:suse:openstack_cloud:6:*:*:*:*:*:*:*
  • OR cpe:/o:suse:suse_linux_enterprise_server:11:sp3:*:*:ltss:*:*:*
  • OR cpe:/o:suse:suse_linux_enterprise_server:11:sp4:*:*:*:*:*:*

  • Configuration 4:
  • cpe:/o:opensuse:leap:15.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20186556
    V
    CVE-2018-6556
    2022-06-30
    oval:org.opensuse.security:def:112677
    P
    liblxc-devel-4.0.9-1.1 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:106157
    P
    liblxc-devel-4.0.9-1.1 on GA media (Moderate)
    2021-10-01
    oval:com.ubuntu.bionic:def:20186556000
    V
    CVE-2018-6556 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-08-10
    oval:com.ubuntu.bionic:def:201865560000000
    V
    CVE-2018-6556 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-08-10
    oval:com.ubuntu.trusty:def:20186556000
    V
    CVE-2018-6556 on Ubuntu 14.04 LTS (trusty) - medium.
    2018-08-10
    oval:com.ubuntu.xenial:def:201865560000000
    V
    CVE-2018-6556 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-08-10
    oval:com.ubuntu.xenial:def:20186556000
    V
    CVE-2018-6556 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-08-10
    BACK
    canonical ubuntu linux 18.04
    linuxcontainers lxc *
    linuxcontainers lxc *
    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