Improper Neutralization of Argument Delimiters in a Command in Flatpak - CVE-2024-32462
Published: April 19, 2024 / Updated: April 30, 2024
Vulnerability details
The vulnerability allows a local application to bypass implemented security restrictions.
The vulnerability exists due to improper input validation when handling CLI arguments in the RequestBackground portal. A malicious application can escape sandbox via a specially crafted arguments and execute arbitrary code on the system.
Affected software
Amazon Linux AMI
SUSE Linux Enterprise Server 15 SP5
Debian Linux
Gentoo Linux
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
Anolis OS
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
SUSE Enterprise Storage
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Desktop 15 SP4 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
Desktop Applications Module
Basesystem Module
openSUSE Leap
openEuler
xdg-desktop-portal
watsonx Assistant for IBM Cloud Pak for Data
watsonx Assistant Cartridge
watsonx Orchestrate with watsonx Assistant Cartridge - Assistant Builder Component
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
bubblewrap-debugsource
bubblewrap-debuginfo
bubblewrap-zsh-completion
bubblewrap
flatpak-builder
flatpak
flatpak-debuginfo
flatpak-devel
flatpak-debugsource
flatpak-help
flatpak-libs
flatpak (Red Hat package)
xdg-desktop-portal-lang
xdg-desktop-portal
xdg-desktop-portal-debuginfo
typelib-1_0-Flatpak-1_0
libflatpak0
libflatpak0-debuginfo
xdg-desktop-portal-debugsource
xdg-desktop-portal-devel
flatpak (Debian package)
system-user-flatpak
flatpak-zsh-completion
flatpak-selinux
flatpak-session-helper
flatpak-remote-flathub
sys-apps/flatpak
flatpak-tests
wayland-protocols-devel
Juniper Junos Space
OpenShift API for Data Protection (OADP)
How to mitigate CVE-2024-32462
xdg-desktop-portal - addressed in versions 1.16.1, 1.18.4
Juniper Junos Space - update to 24.1R2
bubblewrap-debugsource - update to 0.11.0-150500.3.9.1
bubblewrap-debuginfo - update to 0.11.0-150500.3.9.1
bubblewrap-zsh-completion - update to 0.11.0-150500.3.9.1
bubblewrap - update to 0.11.0-150500.3.9.1
flatpak-builder - update to 1.0.0-13
flatpak - update to 1.0.3-12
flatpak-debuginfo - update to 1.0.3-12
flatpak-devel - update to 1.0.3-12
flatpak-debugsource - update to 1.0.3-12
flatpak-help - update to 1.0.3-12
flatpak-libs - addressed in versions 1.0.9-13, 1.12.9-1, 1.15.8-1
flatpak-devel - addressed in versions 1.0.9-13, 1.12.9-1, 1.15.8-1
flatpak - addressed in versions 1.0.9-13, 1.12.9-1, 1.15.8-1
flatpak (Red Hat package) - addressed in versions 1.0.9-13.el7_9, 1.6.2-7.el8_2, 1.8.5-5.el8_4, 1.8.7-2.el8_6, 1.10.7-2.el8_8, 1.12.5-3.el9_0, 1.12.7-3.el9_2, 1.12.9-1.el8_10, 1.12.9-1.el9_4
OpenShift API for Data Protection (OADP) - update to 1.3.3
xdg-desktop-portal-lang - addressed in versions 1.4.2-3.3.1, 1.8.0-150200.5.6.1, 1.10.1-150400.3.6.1, 1.16.0-150500.3.6.1, 1.18.2-150600.4.3.1
xdg-desktop-portal - addressed in versions 1.4.2-3.3.1, 1.8.0-150200.5.6.1, 1.10.1-150400.3.6.1, 1.16.0-150500.3.6.1, 1.18.2-150600.4.3.1
xdg-desktop-portal-debuginfo - addressed in versions 1.4.2-3.3.1, 1.8.0-150200.5.6.1, 1.10.1-150400.3.6.1, 1.16.0-150500.3.6.1, 1.18.2-150600.4.3.1
typelib-1_0-Flatpak-1_0 - addressed in versions 1.4.2-3.6.1, 1.10.8-150200.4.18.1, 1.12.8-150400.3.6.1, 1.14.5-150500.3.9.1, 1.16.0-150500.3.15.1, 1.16.0-150600.3.6.1
libflatpak0 - addressed in versions 1.4.2-3.6.1, 1.10.8-150200.4.18.1, 1.12.8-150400.3.6.1, 1.14.5-150500.3.9.1, 1.16.0-150500.3.15.1, 1.16.0-150600.3.6.1
flatpak - addressed in versions 1.4.2-3.6.1, 1.10.8-150200.4.18.1, 1.12.8-150400.3.6.1, 1.14.5-150500.3.9.1, 1.16.0-150500.3.15.1, 1.16.0-150600.3.6.1
flatpak-debuginfo - addressed in versions 1.4.2-3.6.1, 1.10.8-150200.4.18.1, 1.12.8-150400.3.6.1, 1.14.5-150500.3.9.1, 1.16.0-150500.3.15.1, 1.16.0-150600.3.6.1
libflatpak0-debuginfo - addressed in versions 1.4.2-3.6.1, 1.10.8-150200.4.18.1, 1.12.8-150400.3.6.1, 1.14.5-150500.3.9.1, 1.16.0-150500.3.15.1, 1.16.0-150600.3.6.1
flatpak-debugsource - addressed in versions 1.4.2-3.6.1, 1.10.8-150200.4.18.1, 1.12.8-150400.3.6.1, 1.14.5-150500.3.9.1, 1.16.0-150500.3.15.1, 1.16.0-150600.3.6.1
xdg-desktop-portal-debugsource - addressed in versions 1.8.0-150200.5.6.1, 1.10.1-150400.3.6.1, 1.16.0-150500.3.6.1, 1.18.2-150600.4.3.1
xdg-desktop-portal-devel - addressed in versions 1.8.0-150200.5.6.1, 1.10.1-150400.3.6.1, 1.16.0-150500.3.6.1, 1.18.2-150600.4.3.1
flatpak (Debian package) - addressed in versions 1.10.8-0+deb11u2, 1.14.4-1+deb12u1
system-user-flatpak - addressed in versions 1.10.8-150200.4.18.1, 1.12.8-150400.3.6.1, 1.14.5-150500.3.9.1, 1.16.0-150500.3.15.1, 1.16.0-150600.3.6.1
flatpak-devel - addressed in versions 1.10.8-150200.4.18.1, 1.12.8-150400.3.6.1, 1.14.5-150500.3.9.1, 1.16.0-150500.3.15.1, 1.16.0-150600.3.6.1
flatpak-zsh-completion - addressed in versions 1.10.8-150200.4.18.1, 1.12.8-150400.3.6.1, 1.14.5-150500.3.9.1, 1.16.0-150500.3.15.1, 1.16.0-150600.3.6.1
flatpak-selinux - addressed in versions 1.12.9-1, 1.15.8-1
flatpak-session-helper - addressed in versions 1.12.9-1, 1.15.8-1
flatpak-remote-flathub - addressed in versions 1.14.5-150500.3.9.1, 1.16.0-150500.3.15.1, 1.16.0-150600.3.6.1
sys-apps/flatpak - update to 1.14.6
flatpak - update to 1.15.4-3
flatpak-tests - update to 1.15.8-1
wayland-protocols-devel - update to 1.36-150500.3.3.1
watsonx Assistant for IBM Cloud Pak for Data - update to 4.8.8
watsonx Assistant Cartridge - update to 5.1.3
watsonx Orchestrate with watsonx Assistant Cartridge - Assistant Builder Component - update to 5.1.3
External References
- https://github.com/flatpak/flatpak/security/advisories/GHSA-phv6-cpc2-2fgj
- https://github.com/flatpak/flatpak/commit/72016e3fce8fcbeab707daf4f1a02b931fcc004d
- https://github.com/flatpak/flatpak/commit/81abe2a37d363f5099c3d0bdcd0caad6efc5bf97
- https://github.com/flatpak/flatpak/commit/b7c1a558e58aaeb1d007d29529bbb270dc4ff11e
- https://github.com/flatpak/flatpak/commit/bbab7ed1e672356d1a78b422462b210e8e875931
- https://github.com/flatpak/flatpak/releases/tag/1.14.6
- https://github.com/flatpak/flatpak/releases/tag/1.15.8
- https://github.com/flatpak/flatpak/releases/tag/1.12.9
- https://github.com/flatpak/flatpak/releases/tag/1.10.9
Related Security Bulletins
- Sandbox escape in Flatpak
- Sandbox escape in xdg-desktop-portal
- openEuler update for flatpak
- SUSE update for flatpak
- SUSE update for flatpak
- SUSE update for flatpak
- SUSE update for flatpak
- SUSE update for xdg-desktop-portal
- SUSE update for xdg-desktop-portal
- SUSE update for xdg-desktop-portal
- SUSE update for xdg-desktop-portal
- Red Hat Enterprise Linux 9 update for flatpak
- Red Hat Enterprise Linux 9.2 Extended Update Support update for flatpak
- Red Hat Enterprise Linux 8 update for flatpak
- Red Hat Enterprise Linux 8.8 Extended Update Support update for flatpak
- Red Hat Enterprise Linux 8 update for flatpak
- Red Hat Enterprise Linux 8.6 Extended Update Support update for flatpak
- Red Hat Enterprise Linux 9.0 Extended Update Support update for flatpak
- SUSE update for xdg-desktop-portal
- Red Hat Enterprise Linux 8 update for flatpak
- Red Hat Enterprise Linux 7 update for flatpak
- Gentoo update for Flatpak
- Debian update for flatpak
- Multiple vulnerabilities in OpenShift API for Data Protection (OADP) 1.3
- Amazon Linux AMI update for flatpak
- Multiple vulnerabilities in Junos Space
- SUSE update for Recommended update for bubblewrap, flatpak, wayland-protocols
- Multiple vulnerabilities in IBM watsonx Assistant for IBM Cloud Pak for Data
- Anolis OS update for flatpak
- Anolis OS update for flatpak
- Anolis OS update for flatpak
- IBM watsonx Assistant Cartridge and IBM watsonx Orchestrate with watsonx Assistant Cartridge update for Flatpak