cve.bz

CVE-2024-32462 Argument Injection

8.4 highEPSS 0.5%Fix available

High (8.4). EPSS 0.5% 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 before 1.10.9, 1.12.9, 1.14.6, and 1.15.8, a malicious or compromised Flatpak app could execute arbitrary code outside its sandbox. Normally, the `--command` argument of `flatpak run` expects to be given a command to run in the specified Flatpak app, optionally along with some arguments. However it is possible to instead pass `bwrap` arguments to `--command=`, such as `--bind`. It's possible to pass an arbitrary `commandline` to the portal interface `org.freedesktop.portal.Background.RequestBackground` from within a Flatpak app. When this is converted into a `--command` and arguments, it achieves the same effect of passing arguments directly to `bwrap`, and thus can be used for a sandbox escape. The solution is to pass the `--` argument to `bwrap`, which makes it stop processing options. This has been supported since bubblewrap 0.3.0. All supported versions of Flatpak require at least that version of bubblewrap. xdg-desktop-portal version 1.18.4 will mitigate this vulnerability by only allowing Flatpak apps to create .desktop files for commands that do not start with --. The vulnerability is patched in 1.15.8, 1.10.9, 1.12.9, and 1.14.6.

Severity

CVSS 3.1

8.4 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-24. 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-04-20. 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-88 Improper Neutralization of Argument Delimiters in a Command (Argument Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-32462 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-32462?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-32462?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-2024-32462 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.10.9
flatpak:flatpakfrom 1.12.0 before 1.12.9
flatpak:flatpakfrom 1.14.0 before 1.14.6
flatpak:flatpakfrom 1.15.0 before 1.15.8
fedoraproject:fedora39
fedoraproject:fedora40

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11flatpak1.10.8-0+deb11u2DSA-5666-1
Debian12flatpak1.14.4-1+deb12u1DEBIAN-CVE-2024-32462 DSA-5666-1
Debian13, 14flatpak1.14.6-1DEBIAN-CVE-2024-32462
Ubuntu24.04:LTSflatpak1.14.6-1UBUNTU-CVE-2024-32462
UbuntuPro:18.04:LTS, Pro:20.04:LTS, Pro:22.04:LTSflatpakno fix listedUBUNTU-CVE-2024-32462
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-13.el7_9RHSA-2024:3980
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreflatpak-builder0:1.0.0-13.el7_9RHSA-2024:3980
Red Hatenterprise_linux:8::appstreamflatpak, flatpak-libs, flatpak-selinux and 6 more0:1.12.9-1.el8_10RHSA-2024:3961
Red Hatenterprise_linux:8::crbflatpak, flatpak-devel, flatpak-debuginfo and 5 more0:1.12.9-1.el8_10RHSA-2024:3961
Red Hatenterprise_linux:9::appstreamflatpak, flatpak-libs, flatpak-selinux and 6 more0:1.12.9-1.el9_4RHSA-2024:3959
Red Hatenterprise_linux:9::crbflatpak, flatpak-devel, flatpak-debuginfo and 5 more0:1.12.9-1.el9_4RHSA-2024:3959
Red Hatrhel_aus:8.2::appstreamflatpak, flatpak-libs, flatpak-selinux and 6 more0:1.6.2-7.el8_2RHSA-2024:3979
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreamflatpak, flatpak-libs, flatpak-selinux and 6 more0:1.8.5-5.el8_4RHSA-2024:3963
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamflatpak, flatpak-libs, flatpak-selinux and 6 more0:1.8.7-2.el8_6RHSA-2024:3969
Red Hatrhel_e4s:9.0::appstreamflatpak, flatpak-libs, flatpak-selinux and 6 more0:1.12.5-3.el9_0RHSA-2024:3970
Red Hatrhel_eus:8.8::appstreamflatpak, flatpak-libs, flatpak-selinux and 6 more0:1.10.7-2.el8_8RHSA-2024:3962
Red Hatrhel_eus:8.8::crbflatpak, flatpak-devel, flatpak-debuginfo and 5 more0:1.10.7-2.el8_8RHSA-2024:3962
2 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 moreflatpak1.10.8-150200.4.18.1SUSE-SU-2024:1547-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 morexdg-desktop-portal1.8.0-150200.5.6.1SUSE-SU-2024:1831-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 moreflatpak1.12.8-150400.3.6.1SUSE-SU-2024:1535-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morexdg-desktop-portal1.10.1-150400.3.6.1SUSE-SU-2024:1806-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Module for Basesystem 15 SP6 and 2 morebubblewrap0.11.0-150500.3.9.1SUSE-RU-2025:0145-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 moreflatpak1.16.0-150500.3.15.1SUSE-RU-2025:0145-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 morewayland-protocols1.36-150500.3.3.1SUSE-RU-2025:0145-1
SUSELinux Enterprise Module for Desktop Applications 15 SP5flatpak1.14.5-150500.3.9.1SUSE-SU-2024:1536-1
SUSELinux Enterprise Module for Desktop Applications 15 SP5xdg-desktop-portal1.16.0-150500.3.6.1SUSE-SU-2024:1803-1
SUSELinux Enterprise Module for Desktop Applications 15 SP6flatpak1.16.0-150600.3.6.1SUSE-RU-2025:0145-1
SUSELinux Enterprise Module for Desktop Applications 15 SP6xdg-desktop-portal1.18.2-150600.4.3.1SUSE-SU-2024:2067-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5flatpak1.4.2-3.6.1SUSE-SU-2024:1548-1
1 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5flatpak1.14.5-150500.3.9.1SUSE-SU-2024:1536-1
openSUSELeap 15.5xdg-desktop-portal1.16.0-150500.3.6.1SUSE-SU-2024:1803-1
openSUSELeap 15.6bubblewrap0.11.0-150500.3.9.1SUSE-RU-2025:0145-1
openSUSELeap 15.6flatpak1.16.0-150600.3.6.1SUSE-RU-2025:0145-1
openSUSELeap 15.6xdg-desktop-portal1.18.2-150600.4.3.1SUSE-SU-2024:2067-1
openSUSETumbleweedflatpak1.15.8-1.1openSUSE-SU-2024:13899-1
AlmaLinux8flatpak, flatpak-libs, flatpak-devel and 2 more1.12.9-1.el8_10ALSA-2024:3961
AlmaLinux9flatpak, flatpak-libs, flatpak-devel and 2 more1.12.9-1.el9_4ALSA-2024:3959
Rocky Linux8flatpak0:1.12.9-1.el8_10RLSA-2024:3961
Rocky Linux9flatpak0:1.12.9-1.el9_4RLSA-2024:3959
Alpinev3.17, v3.18, v3.19flatpak1.14.6-r0ALPINE-CVE-2024-32462
Alpinev3.20, v3.21, v3.22 and 2 moreflatpak1.14.6-r1ALPINE-CVE-2024-32462

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.

Red Hat's statement

This vulnerability poses an important security risk due to its potential for sandbox escape within Flatpak environments. Exploiting this vulnerability allows a malicious Flatpak application to execute arbitrary code outside of its designated sandbox, effectively bypassing the security measures intended to restrict its system access. By manipulating the --command argument and the org.freedesktop.portal.Background.RequestBackground portal interface, an attacker can craft commands that are misinterpreted as bwrap options, leading to unauthorized execution of commands with elevated privileges. This could result in unauthorized data access, system compromise, and potentially enable further exploitation of the host system.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7flatpak-0:1.0.9-13.el7_9Fixed 2024-06-18RHSA-2024:3980
Red Hat Enterprise Linux 8flatpak-0:1.12.9-1.el8_10Fixed 2024-06-17RHSA-2024:3961
Red Hat Enterprise Linux 8.2 Advanced Update Supportflatpak-0:1.6.2-7.el8_2Fixed 2024-06-18RHSA-2024:3979
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportflatpak-0:1.8.5-5.el8_4Fixed 2024-06-17RHSA-2024:3963
Red Hat Enterprise Linux 8.4 Telecommunications Update Serviceflatpak-0:1.8.5-5.el8_4Fixed 2024-06-17RHSA-2024:3963
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionsflatpak-0:1.8.5-5.el8_4Fixed 2024-06-17RHSA-2024:3963
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportflatpak-0:1.8.7-2.el8_6Fixed 2024-06-18RHSA-2024:3969
Red Hat Enterprise Linux 8.6 Telecommunications Update Serviceflatpak-0:1.8.7-2.el8_6Fixed 2024-06-18RHSA-2024:3969
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsflatpak-0:1.8.7-2.el8_6Fixed 2024-06-18RHSA-2024:3969
Red Hat Enterprise Linux 8.8 Extended Update Supportflatpak-0:1.10.7-2.el8_8Fixed 2024-06-17RHSA-2024:3962
Red Hat Enterprise Linux 9flatpak-0:1.12.9-1.el9_4Fixed 2024-06-17RHSA-2024:3959
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsflatpak-0:1.12.5-3.el9_0Fixed 2024-06-18RHSA-2024:3970
Red Hat Enterprise Linux 9.2 Extended Update Supportflatpak-0:1.12.7-3.el9_2Fixed 2024-06-17RHSA-2024:3960
Red Hat Enterprise Linux 10flatpakAffected

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-2024-32462.

Attack patterns (CAPEC)

  • CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads Likelihood: High · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-137 Parameter Injection Likelihood: Medium · Severity: Medium
  • CAPEC-174 Flash Parameter Injection Likelihood: High · Severity: Medium
  • CAPEC-460 HTTP Parameter Pollution (HPP) Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON