CVE-2019-7303 Snapd seccomp filter TIOCSTI ioctl bypass
HighCVSS 7.5
EPSS 3.7%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- Technology
- Linux KernelUbuntuDebian
Description
A vulnerability in the seccomp filters of Canonical snapd before version 2.37.4 allows a strict mode snap to insert characters into a terminal on a 64-bit host. The seccomp rules were generated to match 64-bit ioctl(2) commands on a 64-bit platform; however, the Linux kernel only uses the lower 32 bits to determine which ioctl(2) commands to run. This issue affects: Canonical snapd versions prior to 2.37.4.
Upgrade path
8 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Canonical snapd | < 2.37.4 | 2.37.4 | Fixed |
| debian/snapd(Debian 12) | < 2.37.4-1 | 2.37.4-1 | Fixed |
| debian/snapd(Debian 13) | < 2.37.4-1 | 2.37.4-1 | Fixed |
| debian/snapd(Debian 14) | < 2.37.4-1 | 2.37.4-1 | Fixed |
| ubuntu/snapd(Ubuntu 14.04) | < 2.37.4~14.04.1; = 2.21~14.04.2; = 2.22.2~14.04; = 2.22.3~14.04 +13 more | 2.37.4~14.04.1 | Fixed |
| ubuntu/snapd(Ubuntu 16.04) | < 2.37.4ubuntu0.1; = 1.9; = 1.9.1.1; = 1.9.2 +33 more | 2.37.4ubuntu0.1 | Fixed |
| ubuntu/snapd(Ubuntu 18.04) | < 2.37.4+18.04.1; = 2.28.5+17.10; = 2.29.4.1+18.04; = 2.29.4.2+18.04 +14 more | 2.37.4+18.04.1 | Fixed |
| Canonical Ubuntu Linux | = 14.04; = 16.04; = 18.04; = 18.10 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/snapd(Debian:12) | < 2.37.4-1 | 2.37.4-1 |
| debian/snapd(Debian:13) | < 2.37.4-1 | 2.37.4-1 |
| debian/snapd(Debian:14) | < 2.37.4-1 | 2.37.4-1 |
| Canonical snapd | < 2.37.4 | 2.37.4 |
| Canonical Ubuntu Linux | = 14.04 | No fix listed |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
| Canonical Ubuntu Linux | = 18.04 | No fix listed |
| Canonical Ubuntu Linux | = 18.10 | No fix listed |
| ubuntu/snapd(Ubuntu:14.04) | < 2.37.4~14.04.1 | 2.37.4~14.04.1 |
| ubuntu/snapd(Ubuntu:14.04) | = 2.21~14.04.2 | No fix listed |
| ubuntu/snapd(Ubuntu:14.04) | = 2.22.2~14.04 | No fix listed |
| ubuntu/snapd(Ubuntu:14.04) | = 2.22.3~14.04 | No fix listed |
| ubuntu/snapd(Ubuntu:14.04) | = 2.22.6~14.04 | No fix listed |
| ubuntu/snapd(Ubuntu:14.04) | = 2.23.1~14.04 | No fix listed |
| ubuntu/snapd(Ubuntu:14.04) | = 2.24.1~14.04 | No fix listed |
| ubuntu/snapd(Ubuntu:14.04) | = 2.25~14.04 | No fix listed |
| ubuntu/snapd(Ubuntu:14.04) | = 2.26.10~14.04 | No fix listed |
| ubuntu/snapd(Ubuntu:14.04) | = 2.27.5~14.04 | No fix listed |
| ubuntu/snapd(Ubuntu:14.04) | = 2.28.5~14.04 | No fix listed |
| ubuntu/snapd(Ubuntu:14.04) | = 2.29.4.2~14.04 | No fix listed |
| ubuntu/snapd(Ubuntu:14.04) | = 2.32.3.2~14.04 | No fix listed |
| ubuntu/snapd(Ubuntu:14.04) | = 2.32.9~14.04 | No fix listed |
| ubuntu/snapd(Ubuntu:14.04) | = 2.33.1~14.04 | No fix listed |
| ubuntu/snapd(Ubuntu:14.04) | = 2.34.2~14.04 | No fix listed |
| ubuntu/snapd(Ubuntu:14.04) | = 2.34.2~14.04.1 | No fix listed |
Show 55 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/snapd(Ubuntu:16.04) | < 2.37.4ubuntu0.1 | 2.37.4ubuntu0.1 |
| 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 |
| 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:18.04) | < 2.37.4+18.04.1 | 2.37.4+18.04.1 |
| 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 |
References
- Debian Security Tracker CVE-2019-7303 vendor-advisory
- usn.ubuntu.com third-party-advisory
- www.exploit-db.com exploit third-party-advisory vdb-entry
- ubuntu.com issue-tracking
- wiki.ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking