CVE-2020-5291

HIGH EPSS 55.4%
Published Mar 31, 20206y ago · Modified Jun 17, 20262w ago
7.8 CVSS 3.1
High
Find Similar
Published Mar 31, 2020 6y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
7.8
Exploitability
1.8
Impact
5.9
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
55.4% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 2

CWE-269 Improper Privilege Management Authorization
CWE-648

Affected Products 4

VendorProductVersionRange
projectatomicbubblewrap* <0.4.1
debiandebian_linux10.0any
archlinuxarch_linux*any
centoscentos7.0any

References 2

  • github.com https://github.com/containers/bubblewrap/commit/1f7e2ad948c051054b683461885a0215f1806240
    PatchThird Party Advisory
  • github.com https://github.com/containers/bubblewrap/security/advisories/GHSA-j2qp-rvxj-43vj
    MitigationThird Party Advisory

Remediation

  • github.com https://github.com/containers/bubblewrap/commit/1f7e2ad948c051054b683461885a0215f1806240
    PatchThird Party Advisory