Bug 1926479 (CVE-2021-26910) - CVE-2021-26910 firejail: root privilege escalation
Summary: CVE-2021-26910 firejail: root privilege escalation
Alias: CVE-2021-26910
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1926480
TreeView+ depends on / blocked
Reported: 2021-02-08 20:53 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-02-09 13:34 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-02-09 04:09:40 UTC

Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-02-08 20:53:16 UTC
Firejail is a SUID security sandbox program that reduces the risk of security breaches by restricting the running environment of untrusted applications using Linux namespaces and seccomp-bpf. Therefore it may span an OverlayFS over the complete file system, redirecting any file system modifications to a temporary space. Thus malicious sandboxed processes cannot change files on the "real" active file system. To create such a sandbox elevated privileges are required.

When setting up the sandbox Firejail tries to ensure, that the location for temporary OverlayFS file root is not writable by any unprivileged user as that may allow privilege escalation. Due to a race condition this check may report a wrong status and thus both follow symbolic links and use an untrusted directory as source. With crafted content using the untrusted directory allows creation of or granting write access to arbitrary files.


Upstream patch:

Comment 1 Guilherme de Almeida Suckevicz 2021-02-08 20:53:31 UTC
Created firejail tracking bugs for this issue:

Affects: fedora-all [bug 1926480]

Comment 2 Product Security DevOps Team 2021-02-09 04:09:40 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Note You need to log in before you can comment on or make changes to this bug.