What’s Vulnerable › Vulnerabilities
CVE-2019-11503
- Severity: high (CVSS 7.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2019-04-24 · updated 2026-06-17
- Weakness: CWE-59
Description
snap-confine as included in snapd before 2.39 did not guard against symlink races when performing the chdir() to the current working directory of the calling user, aka a "cwd restore permission bypass."
Affected products
- Canonical Ltd. snapd: before 2.39 — fixed in 2.39
How to fix
Upgrade to a fixed version: Canonical Ltd. snapd 2.39. Check the vendor advisory for mitigations.
References
- http://www.openwall.com/lists/oss-security/2019/04/25/7
- https://github.com/snapcore/snapd/pull/6642
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6VACEKVQ7UAZ32WO4ZKCFW6YOBSYJ76L/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPU6APEZHAA7N2AI57OT4J2P7NKHFOLM/
- https://www.openwall.com/lists/oss-security/2019/04/18/4
- http://www.openwall.com/lists/oss-security/2019/04/25/7
- https://github.com/snapcore/snapd/pull/6642
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6VACEKVQ7UAZ32WO4ZKCFW6YOBSYJ76L/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPU6APEZHAA7N2AI57OT4J2P7NKHFOLM/
- https://www.openwall.com/lists/oss-security/2019/04/18/4
Get alerted when CVE-2019-11503 or the next vulnerability affects your stack