CVE-2019-10063
Flatpak before 1.0.8, 1.1.x and 1.2.x before 1.2.4, and 1.3.x before 1.3.1 allows a sandbox bypass. Flatpak versions since 0.8.1 address CVE-2017-5226 by using a seccomp filter to prevent sandboxed apps from using the TIOCSTI ioctl, which could otherwise be used to inject commands into the controlling terminal so that they would be executed outside the sandbox after the sandboxed app exits. This fix was incomplete: on 64-bit platforms, the seccomp filter could be bypassed by an ioctl request number that has TIOCSTI in its 32 least significant bits and an arbitrary nonzero value in its 32 most significant bits, which the Linux kernel would treat as equivalent to TIOCSTI.
What to do
Fixed builds are available from Alpine, Debian, Red Hat, 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 | flatpak | Fixed | 1.0.8-0ubuntu0.18.04.1 | UBUNTU-CVE-2019-10063 |
| Debian 14 | flatpak | Fixed | 1.2.3-2 | DEBIAN-CVE-2019-10063 |
| Debian 13 | flatpak | Fixed | 1.2.3-2 | DEBIAN-CVE-2019-10063 |
| Debian 12 | flatpak | Fixed | 1.2.3-2 | DEBIAN-CVE-2019-10063 |
| Red Hat Enterprise Linux 8 | flatpak | Fixed | 0:1.0.6-3.el8_0 | RHSA-2019:1143 |
| Red Hat Enterprise Linux 8 | flatpak-libs | Fixed | 0:1.0.6-3.el8_0 | RHSA-2019:1143 |
| Red Hat Enterprise Linux 7 | flatpak | Fixed | 0:1.0.2-5.el7_6 | RHSA-2019:1024 |
| Red Hat Enterprise Linux 7 | flatpak-builder | Fixed | 0:1.0.0-5.el7_6 | RHSA-2019:1024 |
| Red Hat Enterprise Linux 7 | flatpak-devel | Fixed | 0:1.0.2-5.el7_6 | RHSA-2019:1024 |
| Red Hat Enterprise Linux 7 | flatpak-libs | Fixed | 0:1.0.2-5.el7_6 | RHSA-2019:1024 |
| Alpine Linux 3.24 | flatpak | Fixed | 1.2.4-r0 | ALPINE-CVE-2019-10063 |
| Alpine Linux 3.23 | flatpak | Fixed | 1.2.4-r0 | ALPINE-CVE-2019-10063 |
| Alpine Linux 3.22 | flatpak | Fixed | 1.2.4-r0 | ALPINE-CVE-2019-10063 |
| Alpine Linux 3.21 | flatpak | Fixed | 1.2.4-r0 | ALPINE-CVE-2019-10063 |
| Alpine Linux 3.20 | flatpak | Fixed | 1.2.4-r0 | ALPINE-CVE-2019-10063 |
| Alpine Linux 3.19 | flatpak | Fixed | 1.2.4-r0 | ALPINE-CVE-2019-10063 |
| Alpine Linux 3.18 | flatpak | Fixed | 1.2.4-r0 | ALPINE-CVE-2019-10063 |
| Alpine Linux 3.17 | flatpak | Fixed | 1.2.4-r0 | ALPINE-CVE-2019-10063 |
| Alpine Linux 3.16 | flatpak | Fixed | 1.2.4-r0 | ALPINE-CVE-2019-10063 |
| Alpine Linux 3.15 | flatpak | Fixed | 1.2.4-r0 | ALPINE-CVE-2019-10063 |
| Alpine Linux 3.14 | flatpak | Fixed | 1.2.4-r0 | ALPINE-CVE-2019-10063 |
| Alpine Linux 3.13 | flatpak | Fixed | 1.2.4-r0 | ALPINE-CVE-2019-10063 |
| Alpine Linux 3.12 | flatpak | Fixed | 1.2.4-r0 | ALPINE-CVE-2019-10063 |
| Alpine Linux 3.11 | flatpak | Fixed | 1.2.4-r0 | ALPINE-CVE-2019-10063 |
| Alpine Linux 3.10 | flatpak | Fixed | 1.2.4-r0 | ALPINE-CVE-2019-10063 |
| Alpine Linux 3.9 | flatpak | Fixed | 1.0.8-r0 | ALPINE-CVE-2019-10063 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2019:1024 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:1143 (vendor-advisory)
References
- https://github.com/flatpak/flatpak/issues/2782
- https://access.redhat.com/errata/RHSA-2019:1024
- https://access.redhat.com/errata/RHSA-2019:1143
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.