Vulnerability Name:

CVE-2016-8649 (CCN-125837)

Assigned:2016-10-12
Published:2017-05-01
Updated:2018-10-26
Summary:lxc-attach in LXC before 1.0.9 and 2.x before 2.0.6 allows an attacker inside of an unprivileged container to use an inherited file descriptor, of the host's /proc, to access the rest of the host's filesystem via the openat() family of syscalls.
CVSS v3 Severity:9.1 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H)
7.9 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): High
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:9.0 High (CVSS v2 Vector: AV:N/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-264
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2016-8649

Source: BID
Type: Third Party Advisory, VDB Entry
94498

Source: CCN
Type: BID-94498
LXC CVE-2016-8649 Directory Traversal Vulnerability

Source: CONFIRM
Type: Third Party Advisory
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845465

Source: CONFIRM
Type: Third Party Advisory
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1639345

Source: CCN
Type: Red Hat Bugzilla – Bug 1398242
(CVE-2016-8649) CVE-2016-8649 lxc: lxc-attach to malicious container allows access to host

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

Source: XF
Type: UNKNOWN
lxc-cve20168649-sec-bypass(125837)

Source: CCN
Type: LXC GIT Repository
attach: do not send procfd to attached process

Source: CONFIRM
Type: Patch, Vendor Advisory
https://github.com/lxc/lxc/commit/81f466d05f2a89cb4f122ef7f593ff3f279b165c

Source: CONFIRM
Type: Third Party Advisory, VDB Entry
https://security-tracker.debian.org/tracker/CVE-2016-8649

Vulnerable Configuration:Configuration 1:
  • cpe:/a:linuxcontainers:lxc:*:*:*:*:*:*:*:* (Version < 1.0.9)
  • OR cpe:/a:linuxcontainers:lxc:*:*:*:*:*:*:*:* (Version >= 2.0.0 and < 2.0.6)

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20168649
    V
    CVE-2016-8649
    2022-06-30
    oval:org.opensuse.security:def:112676
    P
    liblxc-devel-2.0.4-2.1 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:106156
    P
    liblxc-devel-2.0.4-2.1 on GA media (Moderate)
    2021-10-01
    oval:com.ubuntu.precise:def:20168649000
    V
    CVE-2016-8649 on Ubuntu 12.04 LTS (precise) - medium.
    2017-05-01
    oval:com.ubuntu.trusty:def:20168649000
    V
    CVE-2016-8649 on Ubuntu 14.04 LTS (trusty) - medium.
    2017-05-01
    oval:com.ubuntu.xenial:def:201686490000000
    V
    CVE-2016-8649 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-05-01
    oval:com.ubuntu.xenial:def:20168649000
    V
    CVE-2016-8649 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-05-01
    oval:org.cisecurity:def:1363
    V
    Use-after-free vulnerability in Adobe Flash Player before 18.0.0.324 and 19.x and 20.x before 20.0.0.267 on Windows - CVE-2015-8649
    2016-12-09
    BACK
    linuxcontainers lxc *
    linuxcontainers lxc *