CVE-2021-21682: Medium severity jenkins lts vulnerability
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
Event History
Frequently Asked Questions
What is the vulnerability ID for this issue?
The vulnerability ID for this issue is CVE-2021-21682.
What is the severity of CVE-2021-21682?
The severity of CVE-2021-21682 is medium (4.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.
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.
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).