Path traversal in Jenkins and Jenkins LTS - CVE-2021-21605

 

Path traversal in Jenkins and Jenkins LTS - CVE-2021-21605

Published: January 13, 2021 / Updated: January 14, 2021


Vulnerability identifier: #VU49528
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-21605
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Jenkins
Affected software:
Jenkins
Jenkins LTS

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in agent names. A remote authenticated attacker can choose agent names that cause Jenkins to override unrelated "config.xml" files.


How to mitigate CVE-2021-21605

Install update from vendor's website.

Sources