CVE catalog

CVE-2020-5291

bubblewrap: CVE-2020-5291

[CVE catalog]

Severity
High · CVSS 7.8CVSS: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.

DistributionPackageReleaseVersionStatus
Debianbubblewrapsid0.13.1-1fixed
Debianbubblewrapforky0.13.1-1fixed
Debianbubblewraptrixie0.12.0-1~deb13u1fixed
Debianbubblewraptrixie-security0.12.0-1~deb13u1fixed
Debianbubblewrapbookworm0.8.0-2+deb12u1fixed
Debianbubblewrapbookworm-security0.8.0-2+deb12u1fixed
Alpinebubblewrap3.110.4.1-r0fixed
Alpinebubblewrap3.120.4.1-r0fixed
Alpinebubblewrap3.130.4.1-r0fixed
Alpinebubblewrap3.140.4.1-r0fixed
Alpinebubblewrap3.150.4.1-r0fixed
Alpinebubblewrap3.160.4.1-r0fixed
Alpinebubblewrap3.170.4.1-r0fixed
Alpinebubblewrap3.180.4.1-r0fixed
Alpinebubblewrap3.190.4.1-r0fixed
Alpinebubblewrap3.200.4.1-r0fixed
Alpinebubblewrap3.210.4.1-r0fixed
Alpinebubblewrap3.220.4.1-r0fixed
Alpinebubblewrap3.230.4.1-r0fixed
Alpinebubblewrap3.240.4.1-r0fixed
Ubuntububblewrap20.040.3.3-2vulnerable
Ubuntububblewrap20.040.4.0-1vulnerable
Ubuntububblewrap20.040.4.0-1ubuntu1vulnerable
Ubuntububblewrap20.040.4.0-1ubuntu2vulnerable
Ubuntububblewrap20.040.4.0-1ubuntu3vulnerable
Ubuntububblewrap20.040.4.0-1ubuntu4fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianbubblewrapsourcesid0.4.1-1lowNot reported[955441]
Debianbubblewrapsourceforky0.4.1-1lowNot reported[955441]
Debianbubblewrapsourcetrixie0.4.1-1lowNot reported[955441]
Debianbubblewrapsourcebookworm0.4.1-1lowNot reported[955441]
Alpinebubblewrapapk3.110.4.1-r0Not reportedALPINE-CVE-2020-5291Not reported
Alpinebubblewrapapk3.120.4.1-r0Not reportedALPINE-CVE-2020-5291Not reported
Alpinebubblewrapapk3.130.4.1-r0Not reportedALPINE-CVE-2020-5291Not reported
Alpinebubblewrapapk3.140.4.1-r0Not reportedALPINE-CVE-2020-5291Not reported
Alpinebubblewrapapk3.150.4.1-r0Not reportedALPINE-CVE-2020-5291Not reported
Alpinebubblewrapapk3.160.4.1-r0Not reportedALPINE-CVE-2020-5291Not reported
Alpinebubblewrapapk3.170.4.1-r0Not reportedALPINE-CVE-2020-5291Not reported
Alpinebubblewrapapk3.180.4.1-r0Not reportedALPINE-CVE-2020-5291Not reported
Alpinebubblewrapapk3.190.4.1-r0Not reportedALPINE-CVE-2020-5291Not reported
Alpinebubblewrapapk3.200.4.1-r0Not reportedALPINE-CVE-2020-5291Not reported
Alpinebubblewrapapk3.210.4.1-r0Not reportedALPINE-CVE-2020-5291Not reported
Alpinebubblewrapapk3.220.4.1-r0Not reportedALPINE-CVE-2020-5291Not reported
Alpinebubblewrapapk3.230.4.1-r0Not reportedALPINE-CVE-2020-5291Not reported
Alpinebubblewrapapk3.240.4.1-r0Not reportedALPINE-CVE-2020-5291Not reported
Ubuntububblewrapdeb20.040.4.0-1ubuntu4Not reportedUBUNTU-CVE-2020-5291Not reported

[Debian bug #955441]

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 · bookworm

      Fixed · Fixed: 0.4.1-1

      dsa · bubblewrap · debian · bookworm; dsa · bubblewrap · debian · 12

    • 0.8.0-2+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 0.4.1-1

      dsa · bubblewrap · debian · bookworm; dsa · bubblewrap · debian · 12

    • 0.8.0-2+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 0.4.1-1

      dsa · bubblewrap · debian · bookworm; dsa · bubblewrap · debian · 12

    • 0.8.0-2+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 0.4.1-1

      dsa · bubblewrap · debian · bookworm; dsa · bubblewrap · debian · 12

[Debian 13 (Trixie)]

  • [bubblewrap]Unknown
    Details (4)
    • 0.11.0-2+deb13u1 · amd64 · trixie

      Fixed · Fixed: 0.4.1-1

      dsa · bubblewrap · debian · 13

    • 0.11.0-2+deb13u1 · arm64 · trixie

      Fixed · Fixed: 0.4.1-1

      dsa · bubblewrap · debian · 13

    • 0.12.0-1~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 0.4.1-1

      dsa · bubblewrap · debian · 13

    • 0.12.0-1~deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 0.4.1-1

      dsa · bubblewrap · debian · 13

Observed:

References