CVE-2020-11934

golang-github-snapcore-snapd-dev: It was discovered that snapctl user-open allowed altering the $XDG_DATA_DIRS environment variable when calling the sy...

CVE-2020-11934 is fixed in 9 products on 1 platform, first by golang-github-snapcore-snapd-dev 2.45.1+18.04.2, released July 15, 2020. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0037
30th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
golang-github-snapcore-snapd-dev · Ubuntu 18.04.6 LTS (bionic) 2.45.1+18.04.2 golang-github-snapcore-snapd-dev 2.45.1+18.04.2 Jul 15, 2020
golang-github-snapcore-snapd-dev · Ubuntu 20.04 LTS (focal) 2.45.1+20.04.2 golang-github-snapcore-snapd-dev 2.45.1+20.04.2 Jul 15, 2020
golang-github-ubuntu-core-snappy-dev · Ubuntu 18.04.6 LTS (bionic) 2.45.1+18.04.2 golang-github-ubuntu-core-snappy-dev 2.45.1+18.04.2 Jul 15, 2020
golang-github-ubuntu-core-snappy-dev · Ubuntu 20.04 LTS (focal) 2.45.1+20.04.2 golang-github-ubuntu-core-snappy-dev 2.45.1+20.04.2 Jul 15, 2020
snap-confine · Ubuntu 18.04.6 LTS (bionic) 2.45.1+18.04.2 snap-confine 2.45.1+18.04.2 Jul 15, 2020
snap-confine · Ubuntu 20.04 LTS (focal) 2.45.1+20.04.2 snap-confine 2.45.1+20.04.2 Jul 15, 2020
snapd · Ubuntu 18.04.6 LTS (bionic) 2.45.1+18.04.2 snapd 2.45.1+18.04.2 Jul 15, 2020
snapd · Ubuntu 20.04 LTS (focal) 2.45.1+20.04.2 snapd 2.45.1+20.04.2 Jul 15, 2020
snapd-xdg-open · Ubuntu 18.04.6 LTS (bionic) 2.45.1+18.04.2 snapd-xdg-open 2.45.1+18.04.2 Jul 15, 2020
snapd-xdg-open · Ubuntu 20.04 LTS (focal) 2.45.1+20.04.2 snapd-xdg-open 2.45.1+20.04.2 Jul 15, 2020
ubuntu-core-launcher · Ubuntu 18.04.6 LTS (bionic) 2.45.1+18.04.2 ubuntu-core-launcher 2.45.1+18.04.2 Jul 15, 2020
ubuntu-core-launcher · Ubuntu 20.04 LTS (focal) 2.45.1+20.04.2 ubuntu-core-launcher 2.45.1+20.04.2 Jul 15, 2020
ubuntu-core-snapd-units · Ubuntu 18.04.6 LTS (bionic) 2.45.1+18.04.2 ubuntu-core-snapd-units 2.45.1+18.04.2 Jul 15, 2020
ubuntu-core-snapd-units · Ubuntu 20.04 LTS (focal) 2.45.1+20.04.2 ubuntu-core-snapd-units 2.45.1+20.04.2 Jul 15, 2020
ubuntu-snappy · Ubuntu 18.04.6 LTS (bionic) 2.45.1+18.04.2 ubuntu-snappy 2.45.1+18.04.2 Jul 15, 2020
ubuntu-snappy · Ubuntu 20.04 LTS (focal) 2.45.1+20.04.2 ubuntu-snappy 2.45.1+20.04.2 Jul 15, 2020
ubuntu-snappy-cli · Ubuntu 18.04.6 LTS (bionic) 2.45.1+18.04.2 ubuntu-snappy-cli 2.45.1+18.04.2 Jul 15, 2020
ubuntu-snappy-cli · Ubuntu 20.04 LTS (focal) 2.45.1+20.04.2 ubuntu-snappy-cli 2.45.1+20.04.2 Jul 15, 2020

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.