VDB

CVE-2024-32462

CVE-2024-32462 PUBLISHED CVSS 8.4 HIGH

Reported by github_m · Published April 18, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
flatpak-session-helperAmazon Linux1.15.4-3.amzn2023.0.2
flatpak-libsAmazon Linux1.15.4-3.amzn2023.0.2, 1.0.9-10.amzn2.0.5
flatpakAlpine1.14.6-r1, 1.14.6-r0
flatpak-selinuxAmazon Linux1.15.4-3.amzn2023.0.2
flatpak-testsAmazon Linux1.15.4-3.amzn2023.0.2
flatpak-develAmazon Linux1.15.4-3.amzn2023.0.2
flatpakAmazon Linux1.15.4-3.amzn2023.0.2
flatpak-builderAmazon Linux1.0.0-10.amzn2.0.5
flatpakflatpak1.15.8, 1.14.6, 1.12.9, 1.10.9

Risk scores

CVSS 3.1
8.4
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Affected products

VendorProductVersions
flatpakflatpak< 1.10.9, >= 1.12.0, < 1.12.9, >= 1.14.0, < 1.14.6
amazon:2023flatpak-session-helper0
flatpakflatpak1.15.0
amazon:2023flatpak-libs0
alpineflatpak0, 0
amazon:2023flatpak-selinux0
amazon:2023flatpak-tests0
amazon:2flatpak-libs0
amazon:2023flatpak-devel0
amazon:2023flatpak0
amazon:2flatpak-builder0
flatpakflatpak1.15.0, 1.12.0, 1.14.0
amazon:2flatpak-devel0
amazon:2flatpak0

Timeline

  • Apr 18, 2024 CVE Published
  • Apr 19, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (21 in total, the first dated here)
  • Dec 16, 2025 CVE Updated
  • Jan 12, 2026 Security Advisory (12 in total, the first dated here)
  • Oct 14, 2026 Distribution Patch (9 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-32462
vulnetix vdb fixes CVE-2024-32462

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-32462/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›