CVE Vulnerabilities

CVE-2021-21615

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

Published: Jan 26, 2021 | Modified: Nov 21, 2024
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
3.5 LOW
AV:N/AC:M/Au:S/C:P/I:N/A:N
RedHat/V2
RedHat/V3
5.3 MODERATE
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Ubuntu
root.io logo minimus.io logo echo.ai logo

Jenkins 2.275 and LTS 2.263.2 allows reading arbitrary files using the file browser for workspaces and archived artifacts due to a time-of-check to time-of-use (TOCTOU) race condition.

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.

Affected Software

NameVendorStart VersionEnd Version
JenkinsJenkins*2.263.3 (excluding)
JenkinsJenkins*2.276 (excluding)
Red Hat OpenShift Container Platform 4.5RedHatconmon-2:2.0.21-1.rhaos4.5.el7*
Red Hat OpenShift Container Platform 4.5RedHatjenkins-0:2.263.3.1612434332-1.el7*
Red Hat OpenShift Container Platform 4.5RedHatmachine-config-daemon-0:4.5.0-202102050524.p0.git.2594.ff3b8c0.el8*
Red Hat OpenShift Container Platform 4.5RedHatopenshift-0:4.5.0-202102050524.p0.git.0.9229406.el7*
Red Hat OpenShift Container Platform 4.5RedHatopenshift-ansible-0:4.5.0-202102031005.p0.git.0.c6839a2.el7*
Red Hat OpenShift Container Platform 4.5RedHatopenshift-clients-0:4.5.0-202102051529.p0.git.3612.61b096a.el7*
Red Hat OpenShift Container Platform 4.5RedHatrunc-0:1.0.0-72.rhaos4.5.giteadfc6b.el8*
Red Hat OpenShift Container Platform 4.6RedHatjenkins-0:2.263.3.1612434510-1.el8*

Potential Mitigations

References