CVE-2021-21683: Path Traversal

Published Oct 6, 2021
·
Updated

The file browser for workspaces, archived artifacts, and userContent/ in Jenkins 2.314 and earlier, LTS 2.303.1 and earlier may interpret some paths to files as absolute on Windows.

This results in a path traversal vulnerability allowing attackers with Overall/Read permission (Windows controller) or Job/Workspace permission (Windows agents) to obtain the contents of arbitrary files.\n\nThe file browser in Jenkins 2.315, LTS 2.303.2 refuses to serve files that would be considered absolute paths.

Other sources

The file browser in Jenkins 2.314 and earlier, LTS 2.303.1 and earlier may interpret some paths to files as absolute on Windows, resulting in a path traversal vulnerability allowing attackers with Overall/Read permission (Windows controller) or Job/Workspace permission (Windows agents) to obtain the contents of arbitrary files.

Affected Software

8 affected componentsFixes available
maven/org.jenkins-ci.main:jenkins-core>=2.304<=2.314
2.315
maven/org.jenkins-ci.main:jenkins-core<=2.303.1
2.303.2
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?

The vulnerability ID is CVE-2021-21683.

2

What is the severity of CVE-2021-21683?

The severity of CVE-2021-21683 is medium with a CVSS score of 6.5.

3

What is the affected software?

The affected software is Jenkins versions 2.314 and earlier, LTS 2.313.1 and earlier.

4

What is the CWE ID?

The CWE ID for CVE-2021-21683 is CWE-22.

5

How can attackers exploit this vulnerability?

Attackers with Overall/Read permission (Windows controller) or Job/Workspace permission (Windows agents) can exploit this vulnerability to obtain unauthorized access to files.

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