cve.bz

CVE-2021-41133 Improper Input Validation

7.8 highEPSS 0.4%Fix available

High (7.8). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. In versions prior to 1.10.4 and 1.12.0, Flatpak apps with direct access to AF_UNIX sockets such as those used by Wayland, Pipewire or pipewire-pulse can trick portals and other host-OS services into treating the Flatpak app as though it was an ordinary, non-sandboxed host-OS process. They can do this by manipulating the VFS using recent mount-related syscalls that are not blocked by Flatpak's denylist seccomp filter, in order to substitute a crafted `/.flatpak-info` or make that file disappear entirely. Flatpak apps that act as clients for AF_UNIX sockets such as those used by Wayland, Pipewire or pipewire-pulse can escalate the privileges that the corresponding services will believe the Flatpak app has. Note that protocols that operate entirely over the D-Bus session bus (user bus), system bus or accessibility bus are not affected by this. This is due to the use of a proxy process `xdg-dbus-proxy`, whose VFS cannot be manipulated by the Flatpak app, when interacting with these buses. Patches exist for versions 1.10.4 and 1.12.0, and as of time of publication, a patch for version 1.8.2 is being planned. There are no workarounds aside from upgrading to a patched version.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-07-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-41133 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-41133?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-41133?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-41133 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.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
flatpak:flatpakbefore 1.8.2
flatpak:flatpakfrom 1.10.0 before 1.10.4
flatpak:flatpakfrom 1.11.1 before 1.12.1
debian:debian_linux11.0
fedoraproject:fedora33
fedoraproject:fedora34

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11flatpak1.10.5-0+deb11u1DSA-4984-1
Debian12, 13, 14flatpak1.12.1-1DEBIAN-CVE-2021-41133
Ubuntu18.04:LTSflatpak1.0.9-0ubuntu0.4UBUNTU-CVE-2021-41133 USN-5191-1
Ubuntu20.04:LTSflatpak1.6.5-0ubuntu0.4UBUNTU-CVE-2021-41133 USN-5191-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreflatpak, flatpak-libs, flatpak-devel and 1 more0:1.0.9-12.el7_9RHSA-2021:4044
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreflatpak-builder0:1.0.0-12.el7_9RHSA-2021:4044
Red Hatenterprise_linux:8::appstreamflatpak, flatpak-libs, flatpak-selinux and 6 more0:1.8.5-4.el8_4RHSA-2021:4042
Red Hatrhel_eus:8.1::appstreamflatpak, flatpak-libs, flatpak-debuginfo and 2 more0:1.0.9-5.el8_1RHSA-2021:4106
Red Hatrhel_eus:8.2::appstreamflatpak, flatpak-libs, flatpak-selinux and 6 more0:1.6.2-6.el8_2RHSA-2021:4107
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 3 moreflatpak1.2.3-150100.4.8.1SUSE-SU-2022:3284-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moreflatpak0.10.4-150000.4.13.1SUSE-SU-2022:3439-1
SUSELinux Enterprise Module for Desktop Applications 15 SP2, Linux Enterprise Module for Desktop Applications 15 SP3flatpak1.10.5-4.9.1SUSE-SU-2021:3472-1
openSUSELeap 15.2flatpak1.10.5-lp152.3.9.1openSUSE-SU-2021:1400-1
openSUSELeap 15.3flatpak1.10.5-4.9.1openSUSE-SU-2021:3472-1
openSUSETumbleweedflatpak1.12.1-1.1openSUSE-SU-2024:11574-1
AlmaLinux8flatpak, flatpak-libs, flatpak-devel and 2 more1.8.5-5.el8_5ALEA-2021:4539
AlmaLinux8flatpak, flatpak-libs, flatpak-selinux and 1 more1.8.5-4.el8_4ALSA-2021:4042
Rocky Linux8flatpak0:1.8.5-4.el8RLSA-2021:4042
Rocky Linux8flatpak0:1.8.5-4.el8_4RLSA-2021:4042
Alpinev3.14flatpak1.10.5-r0ALPINE-CVE-2021-41133
Alpinev3.15, v3.16, v3.17 and 7 moreflatpak1.12.2-r0ALPINE-CVE-2021-41133

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; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7flatpak-0:1.0.9-12.el7_9Fixed 2021-11-01RHSA-2021:4044
Red Hat Enterprise Linux 8flatpak-0:1.8.5-4.el8_4Fixed 2021-11-01RHSA-2021:4042
Red Hat Enterprise Linux 8.1 Extended Update Supportflatpak-0:1.0.9-5.el8_1Fixed 2021-11-02RHSA-2021:4106
Red Hat Enterprise Linux 8.2 Extended Update Supportflatpak-0:1.6.2-6.el8_2Fixed 2021-11-02RHSA-2021:4107
Red Hat Enterprise Linux 9flatpakNot 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-41133.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON