
CVE catalog
CVE-2020-5291
bubblewrap: CVE-2020-5291
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.90% · Oct 25, 2026
Bubblewrap (bwrap) before version 0.4.1, if installed in setuid mode and the kernel supports unprivileged user namespaces, then the `bwrap --userns2` option can be used to make the setuid process keep running as root while being traceable. This can in turn be used to gain root permissions. Note that this only affects the combination of bubblewrap in setuid mode (which is typically used when unprivileged user namespaces are not supported) and the support of unprivileged user namespaces. Known to be affected are: * Debian testing/unstable, if unprivileged user namespaces enabled (not default) * Debian buster-backports, if unprivileged user namespaces enabled (not default) * Arch if using `linux-hardened`, if unprivileged user namespaces enabled (not default) * Centos 7 flatpak COPR, if unprivileged user namespaces enabled (not default) This has been fixed in the 0.4.1 release, and all affected users should update.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | bubblewrap | sid | 0.13.1-1 | fixed |
| Debian | bubblewrap | forky | 0.13.1-1 | fixed |
| Debian | bubblewrap | trixie | 0.12.0-1~deb13u1 | fixed |
| Debian | bubblewrap | trixie-security | 0.12.0-1~deb13u1 | fixed |
| Debian | bubblewrap | bookworm | 0.8.0-2+deb12u1 | fixed |
| Debian | bubblewrap | bookworm-security | 0.8.0-2+deb12u1 | fixed |
| Alpine | bubblewrap | 3.11 | 0.4.1-r0 | fixed |
| Alpine | bubblewrap | 3.12 | 0.4.1-r0 | fixed |
| Alpine | bubblewrap | 3.13 | 0.4.1-r0 | fixed |
| Alpine | bubblewrap | 3.14 | 0.4.1-r0 | fixed |
| Alpine | bubblewrap | 3.15 | 0.4.1-r0 | fixed |
| Alpine | bubblewrap | 3.16 | 0.4.1-r0 | fixed |
| Alpine | bubblewrap | 3.17 | 0.4.1-r0 | fixed |
| Alpine | bubblewrap | 3.18 | 0.4.1-r0 | fixed |
| Alpine | bubblewrap | 3.19 | 0.4.1-r0 | fixed |
| Alpine | bubblewrap | 3.20 | 0.4.1-r0 | fixed |
| Alpine | bubblewrap | 3.21 | 0.4.1-r0 | fixed |
| Alpine | bubblewrap | 3.22 | 0.4.1-r0 | fixed |
| Alpine | bubblewrap | 3.23 | 0.4.1-r0 | fixed |
| Alpine | bubblewrap | 3.24 | 0.4.1-r0 | fixed |
| Ubuntu | bubblewrap | 20.04 | 0.3.3-2 | vulnerable |
| Ubuntu | bubblewrap | 20.04 | 0.4.0-1 | vulnerable |
| Ubuntu | bubblewrap | 20.04 | 0.4.0-1ubuntu1 | vulnerable |
| Ubuntu | bubblewrap | 20.04 | 0.4.0-1ubuntu2 | vulnerable |
| Ubuntu | bubblewrap | 20.04 | 0.4.0-1ubuntu3 | vulnerable |
| Ubuntu | bubblewrap | 20.04 | 0.4.0-1ubuntu4 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | bubblewrap | source | sid | 0.4.1-1 | low | Not reported | [955441] |
| Debian | bubblewrap | source | forky | 0.4.1-1 | low | Not reported | [955441] |
| Debian | bubblewrap | source | trixie | 0.4.1-1 | low | Not reported | [955441] |
| Debian | bubblewrap | source | bookworm | 0.4.1-1 | low | Not reported | [955441] |
| Alpine | bubblewrap | apk | 3.11 | 0.4.1-r0 | Not reported | ALPINE-CVE-2020-5291 | Not reported |
| Alpine | bubblewrap | apk | 3.12 | 0.4.1-r0 | Not reported | ALPINE-CVE-2020-5291 | Not reported |
| Alpine | bubblewrap | apk | 3.13 | 0.4.1-r0 | Not reported | ALPINE-CVE-2020-5291 | Not reported |
| Alpine | bubblewrap | apk | 3.14 | 0.4.1-r0 | Not reported | ALPINE-CVE-2020-5291 | Not reported |
| Alpine | bubblewrap | apk | 3.15 | 0.4.1-r0 | Not reported | ALPINE-CVE-2020-5291 | Not reported |
| Alpine | bubblewrap | apk | 3.16 | 0.4.1-r0 | Not reported | ALPINE-CVE-2020-5291 | Not reported |
| Alpine | bubblewrap | apk | 3.17 | 0.4.1-r0 | Not reported | ALPINE-CVE-2020-5291 | Not reported |
| Alpine | bubblewrap | apk | 3.18 | 0.4.1-r0 | Not reported | ALPINE-CVE-2020-5291 | Not reported |
| Alpine | bubblewrap | apk | 3.19 | 0.4.1-r0 | Not reported | ALPINE-CVE-2020-5291 | Not reported |
| Alpine | bubblewrap | apk | 3.20 | 0.4.1-r0 | Not reported | ALPINE-CVE-2020-5291 | Not reported |
| Alpine | bubblewrap | apk | 3.21 | 0.4.1-r0 | Not reported | ALPINE-CVE-2020-5291 | Not reported |
| Alpine | bubblewrap | apk | 3.22 | 0.4.1-r0 | Not reported | ALPINE-CVE-2020-5291 | Not reported |
| Alpine | bubblewrap | apk | 3.23 | 0.4.1-r0 | Not reported | ALPINE-CVE-2020-5291 | Not reported |
| Alpine | bubblewrap | apk | 3.24 | 0.4.1-r0 | Not reported | ALPINE-CVE-2020-5291 | Not reported |
| Ubuntu | bubblewrap | deb | 20.04 | 0.4.0-1ubuntu4 | Not reported | UBUNTU-CVE-2020-5291 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [bubblewrap]Unknown
Details (4)
0.8.0-2+deb12u1· amd64 · bookwormFixed · Fixed:
0.4.1-1dsa · bubblewrap · debian · bookworm; dsa · bubblewrap · debian · 12
0.8.0-2+deb12u1· arm64 · bookwormFixed · Fixed:
0.4.1-1dsa · bubblewrap · debian · bookworm; dsa · bubblewrap · debian · 12
0.8.0-2+deb12u1· amd64 · bookworm-securityFixed · Fixed:
0.4.1-1dsa · bubblewrap · debian · bookworm; dsa · bubblewrap · debian · 12
0.8.0-2+deb12u1· arm64 · bookworm-securityFixed · Fixed:
0.4.1-1dsa · bubblewrap · debian · bookworm; dsa · bubblewrap · debian · 12
[Debian 13 (Trixie)]
- [bubblewrap]Unknown
Details (4)
0.11.0-2+deb13u1· amd64 · trixieFixed · Fixed:
0.4.1-1dsa · bubblewrap · debian · 13
0.11.0-2+deb13u1· arm64 · trixieFixed · Fixed:
0.4.1-1dsa · bubblewrap · debian · 13
0.12.0-1~deb13u1· amd64 · trixie-securityFixed · Fixed:
0.4.1-1dsa · bubblewrap · debian · 13
0.12.0-1~deb13u1· arm64 · trixie-securityFixed · Fixed:
0.4.1-1dsa · bubblewrap · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_10663-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2020-5291]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2020-5291]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2020-5291]
- [https://security-tracker.debian.org/tracker/CVE-2020-5291]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]