CVE-2021-21697
jenkins: Agent-to-controller access control allows reading/writing most content of build directories
Overview
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.
Source: OX vulnerability database
Severity
9.1 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | jenkins | <2.318.1 | 2.318.1 |
| Maven | org.jenkins-ci.main:jenkins-core | <2.303.3>=2.304, <2.319 | 2.303.32.319 |
Open a package to see all its vulnerabilities.
Operating systems · 20 fixes
Red Hat 2 releases · 6 packages
fixed 20
cri-o
jenkins
jenkins-2-plugins
openshift-clients
openshift-hyperkube
coreos-installer
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | cri-o | 0:1.23.0-92.rhaos4.10.gitdaab4d1.el7 | RHSA-2022:0055 |
| 7 | jenkins | 0:2.303.3.1637698110-1.el7 | RHSA-2021:4827 |
| 7 | jenkins-2-plugins | 0:3.11.1637699107-1.el7 | RHSA-2021:4827 |
| 7 | openshift-clients +1 | 0:4.10.0-202202160023.p0.gf93da17.assembly.stream.el7 | RHSA-2022:0055 |
| 7 | openshift-hyperkube | 0:4.10.0-202202250816.p0.ge419edf.assembly.stream.el7 | RHSA-2022:0055 |
| 8 | coreos-installer +1 | 0:0.12.0-1.rhaos4.10.el8 | RHSA-2022:0055 |
14 more rows
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2021/11/04/3
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-21697
- github.com https://github.com/jenkinsci/jenkins
- github.com https://github.com/jenkinsci/jenkins/commit/cf388d2a04e6016d23eb93fa3cc804f2554b98f0
- github.com https://github.com/jenkinsci/jenkins/commit/eae33841b587da787f37d5b6c8451d483edc04d9
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-21697
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-21697
- www.jenkins.io https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2428
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.