Vulnerability Name:

CVE-2019-11503 (CCN-160138)

Assigned:2019-04-18
Published:2019-04-18
Updated:2019-07-13
Summary:snap-confine as included in snapd before 2.39 did not guard against symlink races when performing the chdir() to the current working directory of the calling user, aka a "cwd restore permission bypass."
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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): High
Availibility (A): None
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:5.0 Medium (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
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
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-59
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2019-11503

Source: MLIST
Type: Third Party Advisory
[oss-security] 20190425 Re: Security issues in snapcraft snap-confine set*id binary

Source: XF
Type: UNKNOWN
snapcraft-cve201911503-sec-bypass(160138)

Source: CCN
Type: snapd GIT Repository
cmd/snap-confine: prevent cwd restore permission bypass #6642

Source: MISC
Type: Third Party Advisory
https://github.com/snapcore/snapd/pull/6642

Source: FEDORA
Type: UNKNOWN
FEDORA-2019-b6612c5fe5

Source: FEDORA
Type: UNKNOWN
FEDORA-2019-bc3dfb389f

Source: CCN
Type: oss-sec Mailing List, Thu, 25 Apr 2019 08:30:24 -0500
Re: Security issues in snapcraft snap-confine set*id binary

Source: MISC
Type: Exploit, Mailing List, Patch, Third Party Advisory
https://www.openwall.com/lists/oss-security/2019/04/18/4

Vulnerable Configuration:Configuration 1:
  • cpe:/a:canonical:snapd:*:*:*:*:*:*:*:* (Version < 2.39)

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.disco:def:2019115030000000
    V
    CVE-2019-11503 on Ubuntu 19.04 (disco) - low.
    2019-04-24
    oval:com.ubuntu.cosmic:def:201911503000
    V
    CVE-2019-11503 on Ubuntu 18.10 (cosmic) - low.
    2019-04-24
    oval:com.ubuntu.cosmic:def:2019115030000000
    V
    CVE-2019-11503 on Ubuntu 18.10 (cosmic) - low.
    2019-04-24
    oval:com.ubuntu.bionic:def:201911503000
    V
    CVE-2019-11503 on Ubuntu 18.04 LTS (bionic) - low.
    2019-04-24
    oval:com.ubuntu.bionic:def:2019115030000000
    V
    CVE-2019-11503 on Ubuntu 18.04 LTS (bionic) - low.
    2019-04-24
    oval:com.ubuntu.xenial:def:201911503000
    V
    CVE-2019-11503 on Ubuntu 16.04 LTS (xenial) - low.
    2019-04-24
    oval:com.ubuntu.xenial:def:2019115030000000
    V
    CVE-2019-11503 on Ubuntu 16.04 LTS (xenial) - low.
    2019-04-24
    oval:com.ubuntu.trusty:def:201911503000
    V
    CVE-2019-11503 on Ubuntu 14.04 LTS (trusty) - medium.
    2019-04-24
    BACK
    canonical snapd *