CVE Vulnerabilities

CVE-2021-26910

Time-of-check Time-of-use (TOCTOU) Race Condition

Published: Feb 08, 2021 | Modified: May 23, 2022
CVSS 3.x
7
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
6.9 MEDIUM
AV:L/AC:M/Au:N/C:C/I:C/A:C
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

Firejail before 0.9.64.4 allows attackers to bypass intended access restrictions because there is a TOCTOU race condition between a stat operation and an OverlayFS mount operation.

Weakness

The product checks the state of a resource before using that resource, but the resource’s state can change between the check and the use in a way that invalidates the results of the check. This can cause the product to perform invalid actions when the resource is in an unexpected state.

Affected Software

Name Vendor Start Version End Version
Firejail Firejail_project * 0.9.64.4 (excluding)
Firejail Ubuntu bionic *
Firejail Ubuntu focal *
Firejail Ubuntu groovy *
Firejail Ubuntu trusty *
Firejail Ubuntu upstream *
Firejail Ubuntu xenial *

Potential Mitigations

References