CVE-2020-11934

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

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.

Category

5.9
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.04%
Vendor Advisory ubuntu.com
Affected: Canonical snapd
Published at:
Updated at:

References

Link Tags
https://ubuntu.com/USN-4424-1 vendor advisory
https://launchpad.net/bugs/1880085 third party advisory

Frequently Asked Questions

What is the severity of CVE-2020-11934?
CVE-2020-11934 has been scored as a medium severity vulnerability.
How to fix CVE-2020-11934?
To fix CVE-2020-11934, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2020-11934 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2020-11934 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2020-11934?
CVE-2020-11934 affects Canonical snapd.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.