Path traversal in Jenkins and Jenkins LTS - CVE-2023-27902
Published: March 9, 2023
Vulnerability identifier: #VU73195
CSH Severity: Medium
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-27902
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to the affected plugin shows these temporary directories when viewing job workspaces. A remote user can send a specially crafted HTTP request and read arbitrary files on the system.
Affected software
Jenkins
Jenkins LTS
jenkins (Red Hat package)
jenkins-2-plugins (Red Hat package)
Jenkins LTS
jenkins (Red Hat package)
jenkins-2-plugins (Red Hat package)
How to mitigate CVE-2023-27902
Install updates from vendor's website.
Jenkins - update to 2.394
Jenkins LTS - addressed in versions 2.375.4, 2.387.1
jenkins (Red Hat package) - update to 2.387.3.1684911776-3.el8
jenkins-2-plugins (Red Hat package) - update to 4.13.1684911916-1.el8
Jenkins LTS - addressed in versions 2.375.4, 2.387.1
jenkins (Red Hat package) - update to 2.387.3.1684911776-3.el8
jenkins-2-plugins (Red Hat package) - update to 4.13.1684911916-1.el8