CVE-2021-21682: Medium severity jenkins lts vulnerability

Published Oct 6, 2021
·
Updated

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.

Other sources

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

8 affected componentsFixes available
maven/org.jenkins-ci.main:jenkins-core<=2.303.1
2.303.2
maven/org.jenkins-ci.main:jenkins-core>=2.304<=2.314
2.315
Jenkins Jenkins<=2.303.1
Jenkins Jenkins<=2.314
Microsoft Windows
All of the following
Any of the following
Jenkins Jenkins<=2.303.1
Jenkins Jenkins<=2.314
Microsoft Windows

Event History

Oct 6, 2021
CVE Published
via MITRE·10:10 PM
Data Sourced
via MITRE·10:10 PM
Description
May 24, 2022
Advisory Published
07:16 PM

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2021-21682.

2

What is the severity of CVE-2021-21682?

The severity of CVE-2021-21682 is medium (4.3).

3

Which versions of Jenkins are affected by CVE-2021-21682?

Jenkins 2.314 and earlier, LTS 2.303.1 and earlier are affected by this vulnerability.

4

How does the vulnerability in Jenkins work?

The vulnerability in Jenkins allows for the acceptance of names of jobs and other entities with a trailing dot character, potentially replacing the configuration and data of other entities on Windows.

5

Where can I find more information about CVE-2021-21682?

You can find more information about CVE-2021-21682 on the following references: [Reference 1](http://www.openwall.com/lists/oss-security/2021/10/06/1), [Reference 2](https://www.jenkins.io/security/advisory/2021-10-06/#SECURITY-2424).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203