5.9

CVE-2020-11934: canonical snapd Exposure of Resource to Wrong Sphere

CVSS: 5.9v3.1MediumModified
AliasesUBUNTU-CVE-2020-11934USN-4424-1DEBIAN-CVE-2020-11934
Published 29-07-2020Last modified 17-09-2024

Vulnerability summary

CVE-2020-11934 is a medium (CVSS 5.9) Exposure of Resource to Wrong Sphere vulnerability in canonical snapd. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 28.8% of scored vulnerabilities.

Overall risk
24/100
0100
Low · default modelHow is this calculated?
CVSS score
5.9/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.36%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 29-07-2020
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

29%

Versus all other CVEs

30-day change

0.00 pp

From 0.36% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.36%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Canonical2 products
Debian1 product
  • snapd< 2.45.2-1
Ubuntu1 product
  • snapd< 2.45.1ubuntu0.2 | < 2.45.1+18.04.2 | < 2.45.1+20.04.2

3 vendors · 4 products

References

7 links