---
title: "CVE-2020-11934"
canonical_url: "https://pkgseek.com/security/CVE-2020-11934"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# 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.…

CVE-2020-11934 严重级别为 HIGH (7.6)，共索引 4 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: HIGH (7.6)
- **受影响构建数**: 4
- **涉及发行版**: 1
- **已标明修复版本发行版**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | golang-github-snapcore-snapd-dev | 2.44.3+20.04 | 2.45.1+20.04.2 |
| Ubuntu | focal | golang-github-ubuntu-core-snappy-dev | 2.44.3+20.04 | 2.45.1+20.04.2 |
| Ubuntu | focal | snapd | 2.44.3+20.04 | 2.45.1+20.04.2 |
| Ubuntu | focal | ubuntu-core-snapd-units | 2.44.3+20.04 | 2.45.1+20.04.2 |
