CVSS 3.1
8.2 highCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:NHigh (8.2). EPSS 1.5% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:NExplain CVE-2021-21381 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-21381?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-21381?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-21381 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| flatpak:flatpak | from 0.9.4 before 1.10.2 |
| debian:debian_linux | 10.0 |
| fedoraproject:fedora | 33 |
| fedoraproject:fedora | 34 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | flatpak | 1.2.5-0+deb10u4 | DSA-4868-1 |
| Debian | 12, 13, 14 | flatpak | 1.10.1-4 | DEBIAN-CVE-2021-21381 |
| Ubuntu | 18.04:LTS | flatpak | 1.0.9-0ubuntu0.3 | UBUNTU-CVE-2021-21381 USN-4951-1 |
| Ubuntu | 20.04:LTS | flatpak | 1.6.5-0ubuntu0.3 | UBUNTU-CVE-2021-21381 USN-4951-1 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | flatpak, flatpak-libs, flatpak-devel and 1 more | 0:1.0.9-11.el7_9 | RHSA-2021:1002 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | flatpak-builder | 0:1.0.0-11.el7_9 | RHSA-2021:1002 |
| Red Hat | enterprise_linux:8::appstream | flatpak, flatpak-libs, flatpak-selinux and 6 more | 0:1.6.2-6.el8_3 | RHSA-2021:1068 |
| Red Hat | rhel_eus:8.1::appstream | flatpak, flatpak-libs, flatpak-debuginfo and 2 more | 0:1.0.9-4.el8_1 | RHSA-2021:1074 |
| Red Hat | rhel_eus:8.2::appstream | flatpak, flatpak-libs, flatpak-selinux and 6 more | 0:1.6.2-5.el8_2 | RHSA-2021:1073 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 3 more | flatpak | 1.2.3-150100.4.5.2 | SUSE-SU-2022:2990-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.
Red Hat rates this Important.
This is essentially a sandbox escape flaw and needs a malicious app publisher to execute the exploit.
Avoid installing Flatpak apps from untrusted sources, or check the contents of the exported .desktop files in exports/share/applications/*.desktop (typically ~/.local/share/flatpak/exports/share/applications/*.desktop and /var/lib/flatpak/exports/share/applications/*.desktop) to make sure that literal filenames do not follow @@ or @@u.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | flatpak-0:1.0.9-11.el7_9 | Fixed 2021-03-29 | RHSA-2021:1002 |
| Red Hat Enterprise Linux 8 | flatpak-0:1.6.2-6.el8_3 | Fixed 2021-04-06 | RHSA-2021:1068 |
| Red Hat Enterprise Linux 8.1 Extended Update Support | flatpak-0:1.0.9-4.el8_1 | Fixed 2021-04-06 | RHSA-2021:1074 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | flatpak-0:1.6.2-5.el8_2 | Fixed 2021-04-06 | RHSA-2021:1073 |
| Red Hat Enterprise Linux 9 | flatpak | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-21381.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).