VDB
Sign up
HIGH8.8

GHSA-r6qv-frpc-q66c

Jenkins has a link following vulnerability allows arbitrary file creation

Quick fix

GHSA-r6qv-frpc-q66c — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.555</version> for org.jenkins-ci.main:jenkins-core

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.jenkins-ci.main:jenkins-core
Introduced in: 0Fixed in: 2.555
Fix# pom.xml: bump <version>2.555</version> for org.jenkins-ci.main:jenkins-core

References