CVE-2019-7303Snapd seccomp filter TIOCSTI ioctl bypass
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | snapd | Fixed | 2.37.4+18.04.1 | UBUNTU-CVE-2019-7303 |
| Ubuntu 16.04 | snapd | Fixed | 2.37.4ubuntu0.1 | UBUNTU-CVE-2019-7303 |
| Ubuntu 14.04 | snapd | Fixed | 2.37.4~14.04.1 | UBUNTU-CVE-2019-7303 |
| Debian 14 | snapd | Fixed | 2.37.4-1 | DEBIAN-CVE-2019-7303 |
| Debian 13 | snapd | Fixed | 2.37.4-1 | DEBIAN-CVE-2019-7303 |
| Debian 12 | snapd | Fixed | 2.37.4-1 | DEBIAN-CVE-2019-7303 |
What the vendor says
As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Canonical snapd: affected: unspecified to before 2.37.4; fixed in
2.37.4
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.