CVE-2021-21682 json
Improper handling of equivalent directory names on Windows in Jenkins
published 2021-10-06 5 y ago modified 2026-09-08 2 mo ago also BIT-jenkins-2021-21682 , EUVD-2022-2842 , GHSA-6q4g-84f3-mw74
- cvss
- 4.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- public exploits
- 0
- none known
Summary
Jenkins 2.314 and earlier, LTS 2.303.1 and earlier accepts names of jobs and other entities with a trailing dot character, potentially replacing the configuration and data of other entities on Windows.
Patch / fix
- maven org.jenkins-ci.main:jenkins-core 2.303.2, 2.315
- bitnami jenkins 2.314.1
Exploit prediction
1.00% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
| OSV | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.main:jenkins-core | >=2.304, <2.315 <2.303.2 |
2.315 2.303.2 |
| bitnami | jenkins | <2.314.1 |
2.314.1 |
Affected products
- Jenkins project Jenkins
Classification
- Weakness
-
- CWE-42 Path Equivalence: 'filename.' (Trailing Dot)
- Technology feeds
References
-
github.com
/jenkinsci/jenkins/commit/c2c2b59071265aea07f88d5e95297c0a433921c3
web
-
jenkins.io
/security/advisory/2021-10-06/#SECURITY-2424
web, vendor-advisory, advisory
-
openwall.com
/lists/oss-security/2021/10/06/1
mailing-list, web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-21682
advisory, web
Sources
- CVE List CVE-2021-21682
- GitHub Advisory GHSA-6q4g-84f3-mw74
- NVD CVE-2021-21682
- OSV BIT-jenkins-2021-21682
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.