Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-21687

jenkins: FilePath#untar does not check permission to create symbolic links when unarchiving a symbolic link

Overview

Published
4 Nov 2021
Modified
17 Jun 2026
Critical CVE
2 Registry packages
8 OS packages
1 Linux distributions
Yes Fix available

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

Packages affected by CVE-2021-21687
EcosystemPackageVulnerableFixed 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
Red Hat fixes for CVE-2021-21687
ReleasePackageFixed inAdvisory
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

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.