🛡️ CVE-2021-21682 — jenkins
Description
Improper handling of equivalent directory names on Windows in Jenkins
Jenkins stores jobs and other entities on disk using their name shown on the UI as file and folder names.
On Windows, when specifying a file or folder with a trailing dot character (example.), the file or folder will be treated as if that character was not present (example). As both are legal names for jobs and other entities in Jenkins 2.314 and earlier, LTS 2.303.1 and earlier, this could allow users with the appropriate permissions to change or replace configurations of jobs and other entities.
Jenkins 2.315, LTS 2.303.2 does not allow names of jobs and other entities to end with a dot character.
Affected software
CVE-2021-21682 is recorded against 2 packages.
- jenkins
- org.jenkins-ci.main:jenkins-core (fixed in 2.303.2)
Timeline and source
Published on 6 March 2024 and last revised on 3 April 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
www.openwall.com (Web)
www.jenkins.io (Web)
nvd.nist.gov (Web)
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| jenkins | — | — |
| org.jenkins-ci.main:jenkins-core | — | 2.303.2 |
References
Similar Threats
- Unknown CGA-6g73-q3c3-92w7
- Unknown CGA-7235-w595-g588
- Unknown CGA-8fh2-rcx7-55xv
- Unknown CGA-8hr7-6c5h-m383
- Unknown CGA-8mhg-rvh5-jcp3
More CVE 2021 advisories
Browse all of CVE 2021 in the advisory index.
Vulnerability Monitoring
Track new vulnerabilities in jenkins
CVE-2021-21682 is rated CVSS 5.0 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.