Jenkins 2.554 and earlier, LTS 2.541.2 and earlier does not safely handle symbolic links during the extraction of .tar and .tar.gz archives, allowing crafted archives to write files to arbitrary locations on the filesystem, restricted only by file system access permissions of the user running Jenkins.
This can be exploited to deploy malicious scripts or plugins on the controller by attackers with Item/Configure permission, or able to control agent processes.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 2
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Jenkins Jenkins
cpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:*
|
— |
2.541.3
|
|
Jenkins Jenkins
cpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:*
|
— |
2.555
|