Skip to content
Fencer Vulns
medium 5.3

CVE-2021-21615 json

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

published 2021-01-26 5 y ago modified 2026-09-08 2 mo ago also BIT-jenkins-2021-21615 , EUVD-2022-5063 , GHSA-qxp6-27gw-99cj

cvss
5.3
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 60%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.jenkins-ci.main:jenkins-core 2.263.3, 2.276
  • bitnami jenkins 2.276.0
  • jenkins jenkins 2.263.3, 2.276
  • runc openshift 4.5 1.0.0-72.rhaos4.5.giteadfc6b.el8
  • conmon openshift 4.5 2:2.0.21-1.rhaos4.5.el7
  • conmon openshift 4.5 2:2.0.21-1.rhaos4.5.el8
  • jenkins openshift 4.5 2.263.3.1612434332-1.el7
  • openshift openshift 4.5 4.5.0-202102050524.p0.git.0.9229406.el7
  • openshift openshift 4.5 4.5.0-202102050524.p0.git.0.9229406.el8
  • openshift-ansible openshift 4.5 4.5.0-202102031005.p0.git.0.c6839a2.el7
  • openshift-clients openshift 4.5 4.5.0-202102051529.p0.git.3612.61b096a.el7

red hat advisories RHSA-2021:0429RHSA-2021:0423

  • jenkins Alpine 3.13 2.281-r0

alpine advisories ALPINE-CVE-2021-21615

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • jenkins Arch Linux 2.276-1

arch linux advisories AVG-1491

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-21615 updated cvss 5.3

jenkins: Filesystem traversal by privileged users

  • Red Hat OpenShift Container Platform 3.11 jenkins
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 4.5 conmon 2.0.21-1.rhaos4.5.el7, conmon 2.0.21-1.rhaos4.5.el8, jenkins 2.263.3.1612434332-1.el7, runc 1.0.0-72.rhaos4.5.giteadfc6b.el8, openshift 4.5.0-202102050524.p0.git.0.9229406.el7, openshift 4.5.0-202102050524.p0.git.0.9229406.el8, +9 more
    fixed: vendor fix RHSA-2021:0429
  • Red Hat OpenShift Container Platform 4.6 jenkins 2.263.3.1612434510-1.el8
    fixed: vendor fix RHSA-2021:0423
  • Red Hat Fuse 7 jenkins Red Hat OpenShift Container Platform 4.6 python-rsa 4.7-1.el8, python3-rsa 4.7-1.el8, runc 1.0.0-82.rhaos4.6.git086e841.el7, runc 1.0.0-82.rhaos4.6.git086e841.el8, cri-o 1.19.1-7.rhaos4.6.git6377f68.el7, jenkins-2-plugins 4.6.1612257979-1.el8, +16 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.91% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 3.5 AV:N/AC:M/Au:S/C:P/I:N/A:N
OSV 3.1 5.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.jenkins-ci.main:jenkins-core
<2.263.3
>=2.264, <2.276
2.263.3
2.276
bitnami jenkins
<2.276.0
2.276.0

Affected products

  • Jenkins project Jenkins

Classification

Weakness
  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.