SecurityContext

CVE-2021-21689: Jenkins - File Inclusion

  • Cve: CVE-2021-21689
  • Name: Jenkins - File Inclusion
  • Description: FilePath#unzip and FilePath#untar were not subject to any agent-to-controller access control in Jenkins 2.318 and earlier, LTS 2.303.2 and earlier.
  • Impact: Attackers can execute arbitrary code or access sensitive files on the controller, leading to full system compromise.
  • Remediation: Update Jenkins to version 2.319 or later.
  • Vulnerability type: file_inclusion
  • Vulnerability impact: remote_code_execution, file_system_read
  • Requirement type: logged_in
  • Requirements: Attacker needs agent access
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.01503
  • Epss percentile: 0.7499
  • Assignee: [email protected]
  • Published at: 2021-11-04T17:15:08Z
  • Age in days: 1846
  • Modified at: 2026-06-17T03:36:00Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-21689
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd

Cwe

IdName
NVD-CWE-Other—

Hackerone

  • Reports: 4
  • Rank: 2839

References

UrlSourceTags
https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2455nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
jenkins:jenkins< 2.319, < 2.303.3nonvd/v1/products/jenkins/jenkins

Projects

RepositoryLink kindsIndexedUrl
jenkinsci/jenkinscommit, packageyes/v1/repositories/jenkinsci/jenkins

Index

  • Repositories: 10
  • Repositories high signal: 6
  • Packages: 1

Exploitation

  • Remote: yes
  • Hackerone reports: 4
  • Exposed hosts: 1270874
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since