CVE-2019-11503 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...
HighCVSS 7.5
EPSS 2.4%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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."
Upgrade path
6 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Canonical snapd | < 2.39 | 2.39 | Fixed |
| debian/snapd(Debian 12) | < 2.40-1 | 2.40-1 | Fixed |
| debian/snapd(Debian 13) | < 2.40-1 | 2.40-1 | Fixed |
| debian/snapd(Debian 14) | < 2.40-1 | 2.40-1 | Fixed |
| ubuntu/snapd(Ubuntu 16.04) | < 2.39.2ubuntu0.2; = 1.9; = 1.9.1.1; = 1.9.2 +36 more | 2.39.2ubuntu0.2 | Fixed |
| ubuntu/snapd(Ubuntu 18.04) | < 2.39.2+18.04; = 2.28.5+17.10; = 2.29.4.1+18.04; = 2.29.4.2+18.04 +16 more | 2.39.2+18.04 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/snapd(Debian:12) | < 2.40-1 | 2.40-1 |
| debian/snapd(Debian:13) | < 2.40-1 | 2.40-1 |
| debian/snapd(Debian:14) | < 2.40-1 | 2.40-1 |
| Canonical snapd | < 2.39 | 2.39 |
| ubuntu/snapd(Ubuntu:16.04) | < 2.39.2ubuntu0.2 | 2.39.2ubuntu0.2 |
| ubuntu/snapd(Ubuntu:16.04) | = 1.9 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 1.9.1.1 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 1.9.2 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.0 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.0.1 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.0.2 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.0.3 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.0.5 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.0.8 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.0.9 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.0.10 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.11+0.16.04 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.12+0.16.04 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.13 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.14.2~16.04 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.15.2ubuntu1 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.16ubuntu3 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.17.1ubuntu1 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.20.1ubuntu1 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.21 | No fix listed |
Show 39 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/snapd(Ubuntu:16.04) | = 2.22.2 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.22.3 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.22.6 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.23.1 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.24.1 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.25 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.26.10 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.27.5 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.28.5 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.29.4.2 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.32.3.2 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.32.9 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.33.1ubuntu2 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.34.2 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.34.2ubuntu0.1 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.37.4 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.37.4ubuntu0.1 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.38 | No fix listed |
| ubuntu/snapd(Ubuntu:16.04) | = 2.39.2 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | < 2.39.2+18.04 | 2.39.2+18.04 |
| ubuntu/snapd(Ubuntu:18.04) | = 2.28.5+17.10 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.29.4.1+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.29.4.2+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.31.1+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.32+18.04~pre5 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.32+18.04~pre6 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.32+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.32.3.2+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.32.5+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.32.8+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.32.9+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.33.1+18.04ubuntu2 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.34.2+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.34.2+18.04.1 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.37.1+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.37.1.1+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.37.4+18.04 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.37.4+18.04.1 | No fix listed |
| ubuntu/snapd(Ubuntu:18.04) | = 2.38+18.04 | No fix listed |
References
- Debian Security Tracker CVE-2019-11503 vendor-advisory
- [oss-security] 20190425 Re: Security issues in snapcraft snap-confine set*id binary mailing-list third-party-advisory
- github.com issue-tracking third-party-advisory
- FEDORA-2019-b6612c5fe5 vendor-advisory
- FEDORA-2019-bc3dfb389f vendor-advisory
- www.openwall.com exploit issue-tracking mailing-list patch third-party-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.cve.org issue-tracking