Vulnerability in Bubblewrap Package (CVE-2019-12439)

bubblewrap Updated 02 Oct 2025

Summary

29/05/2019
N/A
Yes i
High
7.8

CVE-2019-12439: bubblewrap.c in Bubblewrap before 0.3.3 misuses temporary directories in /tmp as a mount point. Affects bubblewrap across 3 version ranges.

< 0.3.1-3 < bc13e228d172cc2385aa445b512c6bf8ca2f3376 < efc89e3b939b4bde42c10f065f6b7b02958ed50e

Fixed in 0.3.1-3. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Bubblewrap is a package in the Debian ecosystem that provides a sandboxing tool for running untrusted processes. It creates lightweight containers to isolate applications and prevent them from accessing sensitive resources on the host system. This vulnerability, identified as CVE-2019-12439, arises from a misuse of temporary directories in /tmp as a mount point. Under certain configurations related to XDG_RUNTIME_DIR, a local attacker can exploit this flaw to hinder the execution of bubblewrap by other users or potentially execute malicious code.

Vulnerability Detail

The vulnerability in Bubblewrap (CVE-2019-12439) stems from the incorrect usage of temporary directories in /tmp as a mount point. This issue can be exploited by a local attacker in specific configurations to impede the execution of bubblewrap or potentially execute arbitrary code. The vulnerability has a CVSS score of 7.8, indicating a high severity level. It poses a threat to the integrity, availability, and confidentiality of the affected system.

How To Fix

Minimum fixed version

0.3.1-3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade bubblewrap

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

Workaround

There is no specific workaround mentioned for this vulnerability. However, users can mitigate the risk by ensuring that the XDG_RUNTIME_DIR configuration is properly set up and does not allow unauthorized access. Additionally, users should follow security best practices, such as limiting the privileges of local users and regularly monitoring system logs for any suspicious activity.

Conclusion

The vulnerability in Bubblewrap (CVE-2019-12439) arises from the misuse of temporary directories, potentially allowing a local attacker to hinder execution or execute arbitrary code. To mitigate this vulnerability, it is crucial to update the Bubblewrap package to version 0.3.1-3 or later. Users should also ensure proper configuration of XDG_RUNTIME_DIR and follow security best practices. For further assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for bubblewrap →

Share this vulnerability

FAQ

Bubblewrap is a sandboxing tool used for running untrusted processes in isolated containers. It provides an additional layer of security by preventing applications from accessing sensitive resources on the host system.

This vulnerability allows a local attacker to hinder the execution of bubblewrap by other users or potentially execute arbitrary code. It can lead to a compromise of system integrity, availability, and confidentiality.

The CVSS score of this vulnerability is 7.8, indicating a high severity level.

To fix this vulnerability, update the Bubblewrap package to version 0.3.1-3 or later. This update includes patches to address the misuse of temporary directories. After updating, restart any affected services or applications.

While no specific workarounds are mentioned, users can mitigate the risk by properly configuring XDG_RUNTIME_DIR and following security best practices, such as limiting user privileges and monitoring system logs.

Related vulnerabilities

Recent vulnerabilities recorded for bubblewrap.

How To Fix

Minimum fixed version

0.3.1-3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade 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