CVE-2020-11934
published medium CVSS 3.1 · 5.9Sandbox escape vulnerability via snapctl user-open (xdg-open)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | snapd2.45.1 to < 2.45.1ubuntu0.2 (affected · custom); changes: unaffected at 2.45.1+18.04.2, unaffected at 2.45.1+20.04.2 | Version-specific | Not stated | canonical |
| Ubuntu | bionic | snapd | Advisory build | 2.45.1+18.04.2 | USN-4424-1 |
| Ubuntu | focal | snapd | Advisory build | 2.45.1+20.04.2 | USN-4424-1 |
| Ubuntu | xenial | snapd | Advisory build | 2.45.1ubuntu0.2 | USN-4424-1 |
| Ubuntu | bionic | golang-github-snapcore-snapd-dev | Advisory build | 2.45.1+18.04.2 | USN-4424-1 |
| Ubuntu | bionic | golang-github-ubuntu-core-snappy-dev | Advisory build | 2.45.1+18.04.2 | USN-4424-1 |
| Ubuntu | bionic | snap-confine | Advisory build | 2.45.1+18.04.2 | USN-4424-1 |
| Ubuntu | bionic | snapd-xdg-open | Advisory build | 2.45.1+18.04.2 | USN-4424-1 |
Show 20 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | bionic | ubuntu-core-launcher | Advisory build | 2.45.1+18.04.2 | USN-4424-1 |
| Ubuntu | bionic | ubuntu-core-snapd-units | Advisory build | 2.45.1+18.04.2 | USN-4424-1 |
| Ubuntu | bionic | ubuntu-snappy | Advisory build | 2.45.1+18.04.2 | USN-4424-1 |
| Ubuntu | bionic | ubuntu-snappy-cli | Advisory build | 2.45.1+18.04.2 | USN-4424-1 |
| Ubuntu | focal | golang-github-snapcore-snapd-dev | Advisory build | 2.45.1+20.04.2 | USN-4424-1 |
| Ubuntu | focal | golang-github-ubuntu-core-snappy-dev | Advisory build | 2.45.1+20.04.2 | USN-4424-1 |
| Ubuntu | focal | snap-confine | Advisory build | 2.45.1+20.04.2 | USN-4424-1 |
| Ubuntu | focal | snapd-xdg-open | Advisory build | 2.45.1+20.04.2 | USN-4424-1 |
| Ubuntu | focal | ubuntu-core-launcher | Advisory build | 2.45.1+20.04.2 | USN-4424-1 |
| Ubuntu | focal | ubuntu-core-snapd-units | Advisory build | 2.45.1+20.04.2 | USN-4424-1 |
| Ubuntu | focal | ubuntu-snappy | Advisory build | 2.45.1+20.04.2 | USN-4424-1 |
| Ubuntu | focal | ubuntu-snappy-cli | Advisory build | 2.45.1+20.04.2 | USN-4424-1 |
| Ubuntu | xenial | golang-github-snapcore-snapd-dev | Advisory build | 2.45.1ubuntu0.2 | USN-4424-1 |
| Ubuntu | xenial | golang-github-ubuntu-core-snappy-dev | Advisory build | 2.45.1ubuntu0.2 | USN-4424-1 |
| Ubuntu | xenial | snap-confine | Advisory build | 2.45.1ubuntu0.2 | USN-4424-1 |
| Ubuntu | xenial | snapd-xdg-open | Advisory build | 2.45.1ubuntu0.2 | USN-4424-1 |
| Ubuntu | xenial | ubuntu-core-launcher | Advisory build | 2.45.1ubuntu0.2 | USN-4424-1 |
| Ubuntu | xenial | ubuntu-core-snapd-units | Advisory build | 2.45.1ubuntu0.2 | USN-4424-1 |
| Ubuntu | xenial | ubuntu-snappy | Advisory build | 2.45.1ubuntu0.2 | USN-4424-1 |
| Ubuntu | xenial | ubuntu-snappy-cli | Advisory build | 2.45.1ubuntu0.2 | USN-4424-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | snapd | 2.45.1 to < 2.45.1ubuntu0.2 (affected · custom); changes: unaffected at 2.45.1+18.04.2, unaffected at 2.45.1+20.04.2 | canonical · cna |
Weaknesses
1- Sandbox escape vulnerability
References
2Provider assertions
2canonical · cna
Sandbox escape vulnerability via snapctl user-open (xdg-open)
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1a75191a4543ad92a2e248a27e58d64768dce9442229a4747c91c1b68767cd3e
- Ingested
- 23 Sep 2026, 07:48:21 UTC
- Source record
- Official CVE record