VDB

CVE-2020-11934

CVE-2020-11934 PUBLISHED CVSS 5.9 MEDIUM

Sandbox escape vulnerability via snapctl user-open (xdg-open)

Reported by canonical · Published July 29, 2020

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
snapdCanonical2.45.1ubuntu0.2
snapdUbuntu:18.04:LTS2.45.1+18.04.2
snapdUbuntu:20.04:LTS2.45.1+20.04.2
snapdUbuntu:16.04:LTS2.45.1ubuntu0.2

Risk scores

CVSS 3.1
5.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N

Affected products

VendorProductVersions
Canonicalsnapd2.45.1
Canonicalsnapd2.45.1

Timeline

  • Jul 15, 2020 CVE Published
  • Jul 29, 2020 PoC Published (2 in total, the first dated here)
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (2 in total, the first dated here)
  • Sep 6, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-11934
vulnetix vdb fixes CVE-2020-11934

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-11934/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_CONFIRM
  • x_refsource_CONFIRM
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›