CVE-2020-5291
published high CVSS 3.1 · 7.2Privilege escalation in setuid mode via user namespaces in Bubblewrap
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| containers | — | bubblewrap< 0.4.1 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | bubblewrap | Fixed | 0.4.1-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | bubblewrapaarch64 | Advisory build | 0.5.0-1.1 | OPENSUSE-SU-2024:10663-1 |
| Alpine Linux | v3.11 | bubblewrap | Fixed | 0.4.1-r0 | Package fix record |
| Alpine Linux | v3.12 | bubblewrap | Fixed | 0.4.1-r0 | Package fix record |
| Alpine Linux | v3.13 | bubblewrap | Fixed | 0.4.1-r0 | Package fix record |
| Alpine Linux | v3.14 | bubblewrap | Fixed | 0.4.1-r0 | Package fix record |
| Alpine Linux | v3.15 | bubblewrap | Fixed | 0.4.1-r0 | Package fix record |
Show 16 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.16 | bubblewrap | Fixed | 0.4.1-r0 | Package fix record |
| Alpine Linux | v3.17 | bubblewrap | Fixed | 0.4.1-r0 | Package fix record |
| Alpine Linux | v3.18 | bubblewrap | Fixed | 0.4.1-r0 | Package fix record |
| Alpine Linux | v3.19 | bubblewrap | Fixed | 0.4.1-r0 | Package fix record |
| Alpine Linux | v3.20 | bubblewrap | Fixed | 0.4.1-r0 | Package fix record |
| Alpine Linux | v3.21 | bubblewrap | Fixed | 0.4.1-r0 | Package fix record |
| Alpine Linux | v3.22 | bubblewrap | Fixed | 0.4.1-r0 | Package fix record |
| Alpine Linux | v3.23 | bubblewrap | Fixed | 0.4.1-r0 | Package fix record |
| Alpine Linux | v3.24 | bubblewrap | Fixed | 0.4.1-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | bubblewrapppc64le | Advisory build | 0.5.0-1.1 | OPENSUSE-SU-2024:10663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bubblewraps390x | Advisory build | 0.5.0-1.1 | OPENSUSE-SU-2024:10663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bubblewrapx86_64 | Advisory build | 0.5.0-1.1 | OPENSUSE-SU-2024:10663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bubblewrap-zsh-completionaarch64 | Advisory build | 0.5.0-1.1 | OPENSUSE-SU-2024:10663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bubblewrap-zsh-completionppc64le | Advisory build | 0.5.0-1.1 | OPENSUSE-SU-2024:10663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bubblewrap-zsh-completions390x | Advisory build | 0.5.0-1.1 | OPENSUSE-SU-2024:10663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bubblewrap-zsh-completionx86_64 | Advisory build | 0.5.0-1.1 | OPENSUSE-SU-2024:10663-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| containers | bubblewrap | < 0.4.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-648 CWE-648: Incorrect Use of Privileged APIs
References
2Provider assertions
2GitHub_M · cna
Privilege escalation in setuid mode via user namespaces in Bubblewrap
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f60c72f109c84e9c1be7213c644fd50281bf6ec589cfbaac241306c0440f8be4
- Ingested
- 23 Sep 2026, 07:51:02 UTC
- Source record
- Official CVE record