Vulnerability in Canonical Snapd
CVE-2020-11934
It was discovered that snapctl user-open allowed altering the $XDG_DATA_DIRS environment variable when calling the system xdg-open. OpenURL() in usersession/userd/launcher.go would alter $XDG_DATA_DIRS to append a path to a directory controlled by the calling snap. A malicious snap could exploit this to bypass intended access restrictions to control how the host system xdg-open script opens the URL and, for example, execute a script shipped with the snap without confinement. This issue did not affect Ubuntu Core systems. Fixed in snapd versions 2.45.1ubuntu0.2, 2.45.1+18.04.2 and 2.45.1+20.04.2.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.004 (28.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 29th percentile — 28.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Canonical Snapd — versions 2.45.1
- Canonical Ubuntu Linux — versions 16.04, 18.04, 19.10
Weakness classification (CWE)
References
- ubuntu.com/USN-4424-1 (Vendor Advisory)
- launchpad.net/bugs/1880085 (Third Party Advisory)
Frequently asked questions
- What is CVE-2020-11934?
- CVE-2020-11934 is a medium-severity vulnerability in Canonical Snapd, classified under Exposure of Resource to Wrong Sphere. CVSS score: 5.9/10. Published 2020-07-29.
- How severe is CVE-2020-11934?
- Medium severity. CVSS v3 base score is 5.9 out of 10.