Critical Security Update for Bubblewrap and Flatpak: Addressing File Access Vulnerability

bubblewrap Updated 02 Oct 2025

Summary

12/11/2024
N/A
Yes i
Unrated
Not published

ALSA-2024:9449: Important: bubblewrap and flatpak security update. Affects bubblewrap versions < 0.4.1-8.el9_5. Fixed in 0.4.1-8.el9_5. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Bubblewrap is a core execution engine designed for unprivileged containers, functioning as a setuid binary on kernels that lack user namespaces. It is widely used in conjunction with Flatpak, a software utility for software deployment, application virtualization, and package management. This vulnerability affects the ability of applications to access files outside their designated sandbox, potentially leading to unauthorized data exposure.

Vulnerability Detail

The vulnerability identified as CVE-2024-42472 allows applications using Flatpak with the persistent flag to access files outside their sandbox environment. This flaw arises from improper isolation mechanisms within the Bubblewrap execution engine, which can be exploited by malicious applications to read or modify files that should be inaccessible. The ramifications of this vulnerability include potential data leaks and unauthorized access to sensitive information, posing significant security risks to users and systems.

How To Fix

Minimum fixed version

0.4.1-8.el9_5

This is the first release that contains the fix.

sudo dnf update bubblewrap

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, you can restrict the use of the persistent flag in Flatpak applications until the packages are updated. This can be done by modifying the application manifest files to remove the '--persist' option, thereby limiting file access to the sandboxed environment.

Conclusion

The vulnerability affecting Bubblewrap and Flatpak poses significant security risks by allowing unauthorized file access for applications using the persistent flag. It is crucial to update the affected packages to their patched versions to mitigate these risks. Users should also consider temporary workarounds until updates can be applied.

See every vulnerability recorded for bubblewrap →

Share this vulnerability

FAQ

CVE-2024-42472 is a vulnerability that allows Flatpak applications using the persistent flag to access files outside their sandbox, potentially leading to unauthorized data exposure.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If immediate updates are not possible, consider removing the persistent flag from your Flatpak applications as a temporary workaround.

Failing to address this vulnerability could lead to unauthorized access to sensitive files, resulting in data breaches and potential exploitation by malicious actors.

For more details, refer to the CVE page associated with CVE-2024-42472, which provides in-depth information about the vulnerability and its implications.

Related vulnerabilities

Recent vulnerabilities recorded for bubblewrap.

How To Fix

Minimum fixed version

0.4.1-8.el9_5

This is the first release that contains the fix.

sudo dnf update bubblewrap

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback