CVE-2021-21687: Critical severity jenkins lts vulnerability

Published Nov 4, 2021
·
Updated

FilePath#untar does not check permission to create symbolic links when unarchiving a symbolic link.

Other sources

Jenkins 2.318 and earlier, LTS 2.303.2 and earlier does not check agent-to-controller access to create symbolic links when unarchiving a symbolic link in FilePath#untar.

MITRE

Affected Software

4 affected componentsFixes available
redhat/jenkins<2.319
2.319
redhat/jenkins LTS<2.303.3
2.303.3
Jenkins Jenkins<2.303.3
Jenkins Jenkins<2.319

Event History

Nov 4, 2021
CVE Published
via MITRE·04:30 PM
Data Sourced
via MITRE·04:30 PM
Description

Frequently Asked Questions

1

What is CVE-2021-21687?

CVE-2021-21687 is a vulnerability in Jenkins that allows unauthorized creation of symbolic links during untar operations.

2

What is the severity of CVE-2021-21687?

CVE-2021-21687 has a severity rating of 9.1 (Critical).

3

How does CVE-2021-21687 impact Jenkins?

CVE-2021-21687 allows attackers to create symbolic links without proper access checks during untar operations in Jenkins, potentially leading to unauthorized access or system compromise.

4

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

Jenkins versions 2.318 and earlier, as well as LTS 2.303.2 and earlier, are affected by CVE-2021-21687.

5

How can I fix CVE-2021-21687?

To fix CVE-2021-21687, upgrade to Jenkins version 2.319 or Jenkins LTS version 2.303.3.

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