# CVE-2021-21682: Improper handling of equivalent directory names on Windows in Jenkins

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.00%, higher than 63% of CVEs (2026-12-01)
- Published: 2021-10-06T22:10:11.000Z
- Modified: 2026-09-08T08:47:57.747Z
- Also known as: GHSA-6q4g-84f3-mw74, BIT-JENKINS-2021-21682
- Weaknesses: CWE-42
- Assigned by: jenkins

## Description

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.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins: from unspecified up to 2.314; from unspecified up to LTS 2.303.1
- org.jenkins-ci.main:jenkins-core (Maven): from 2.304 before 2.315; before 2.303.2
- jenkins jenkins: up to 2.303.1; up to 2.314
- jenkins (Bitnami): before 2.314.1

## Every score

- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://www.jenkins.io/security/advisory/2021-10-06/#SECURITY-2424> (advisory, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/10/06/1> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21682> (advisory, web)
- <https://github.com/jenkinsci/jenkins/commit/c2c2b59071265aea07f88d5e95297c0a433921c3> (web)

## Sources

- CVE List: [CVE-2021-21682](https://www.cve.org/CVERecord?id=CVE-2021-21682), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-6q4g-84f3-mw74](https://github.com/advisories/GHSA-6q4g-84f3-mw74), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-21682](https://nvd.nist.gov/vuln/detail/CVE-2021-21682), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-JENKINS-2021-21682](https://osv.dev/vulnerability/BIT-JENKINS-2021-21682), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-21682 · Whole record: https://cve.day/CVE-2021-21682.json · Rebuilt by cve.day 2026-11-25T22:58:04.357Z
