Skip to content
OpenAdvisories
Critical · 9.1 CVE-2021-21697 BIT-jenkins-2021-21697EUVD-2022-3632GHSA-cv2w-q8c3-xjv7

Agent-to-controller access control allows reading/writing most content of build directories in Jenkins

Published Nov 4, 2021 · Updated Aug 3, 2024 · Assigned by jenkins

Description

Jenkins 2.318 and earlier, LTS 2.303.2 and earlier allows any agent to read and write the contents of any build directory stored in Jenkins with very few restrictions.

Affected products

VendorProductAffectedFixed
Jenkins project Jenkins unspecified – ≤ 2.318, unspecified – ≤ LTS 2.303.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat OpenShift 4 coreos-installer 0.9.0-8.rhaos4.8.el8 RHSA-2022:0055, RHSA-2021:4829
Red Hat OpenShift 4 coreos-installer-bootinfra 0.12.0-1.rhaos4.10.el8 RHSA-2022:0055
Red Hat OpenShift 4 cri-o 1.23.0-92.rhaos4.10.gitdaab4d1.el7 RHSA-2022:0055
Red Hat OpenShift 4 jenkins 2.303.3.1637595827-1.el8 RHSA-2022:0055, RHSA-2021:4833, RHSA-2021:4829
Red Hat OpenShift 4 jenkins-2-plugins 4.6.1637602169-1.el8 RHSA-2022:0055, RHSA-2021:4833, RHSA-2021:4829
Red Hat OpenShift 4 openshift +1 4.10.0-202202250816.p0.ge419edf.assembly.stream.el7 RHSA-2022:0055
Red Hat OpenShift 4 openshift-clients +1 4.10.0-202202160023.p0.gf93da17.assembly.stream.el7 RHSA-2022:0055
Red Hat OpenShift 3 jenkins 2.303.3.1637698110-1.el7 RHSA-2021:4827
Red Hat OpenShift 3 jenkins-2-plugins 3.11.1637699107-1.el7 RHSA-2021:4827

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.main:jenkins-core < 2.303.3 2.303.3 GHSA-cv2w-q8c3-xjv7
Maven org.jenkins-ci.main:jenkins-core >= 2.304, < 2.319 2.319 GHSA-cv2w-q8c3-xjv7

Advisories 6

References