CVE-2021-21687
jenkins: FilePath#untar does not check permission to create symbolic links when unarchiving a symbolic link
Overview
Description
Jenkins 2.318 and earlier, LTS 2.303.2 and earlier does not check agent-to-controller access to create symbolic links when unarchiving a symbolic link in FilePath#untar.
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
Weakness: CWE-862
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | jenkins | <2.319.0 | 2.319.0 |
| 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
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-21687
- github.com https://github.com/jenkinsci/jenkins
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-21687
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-21687
- www.jenkins.io https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2455
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.