WaratekVRT Sign in

CVE-2021-21683 Jenkins

Affected softwareJenkins
Severity6.5 Medium CVSS 3.1 2 scores
Fixed in2.303.2, 2.315
WeaknessPath traversal (CWE-22)
Published6 Oct 2021
Updated17 Jun 2026

Description

The file browser in Jenkins 2.314 and earlier, LTS 2.303.1 and earlier may interpret some paths to files as absolute on Windows, resulting in a path traversal vulnerability allowing attackers with Overall/Read permission (Windows controller) or Job/Workspace permission (Windows agents) to obtain the contents of arbitrary files.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 5 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 2.2% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.

How to mitigate CVE-2021-21683

Upgrade Jenkins to a release that fixes it: 2.303.2 or 2.315. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

6.5 MEDIUM v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 6.5 MEDIUM CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N NVD Primary published
CVSS 2.0 4.0 none AV:N/AC:L/Au:S/C:P/I:N/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.jenkins-ci.main:jenkins-core 0 2.303.2 unbounded
org.jenkins-ci.main:jenkins-core 2.304 2.315 unbounded

Products and versions

2 products, 4 version entries
SourceVendorProductSchemeAffected versions
nvd jenkins jenkins generic ≤ 2.303.1 · ≤ 2.314
osv org.jenkins-ci.main jenkins-core generic < 2.303.2 · ≥ 2.304 and < 2.315

References

URLTags
https://github.com/jenkinsci/jenkins/commit/3f679fc12d073676a4441d3fa8b5fff34c07662f WEB
https://github.com/jenkinsci/jenkins PACKAGE
https://www.jenkins.io/security/advisory/2021-10-06/#SECURITY-2481 WEB
http://www.openwall.com/lists/oss-security/2021/10/06/1 WEB

Timeline

Published2021-10-06By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.