VDB
Sign up
MEDIUM6.5

GHSA-5p59-v5wm-77v4

Improper Limitation of a Pathname to a Restricted Directory in Jenkins

Quick fix

GHSA-5p59-v5wm-77v4 — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.

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

Details

Jenkins before 2.107 and Jenkins LTS before 2.89.4 did not properly prevent specifying relative paths that escape a base directory for URLs accessing plugin resource files. This allowed users with Overall/Read permission to download files from the Jenkins master they should not have access to. On Windows, any file accessible to the Jenkins master process could be downloaded. On other operating systems, any file within the Jenkins home directory accessible to the Jenkins master process could be downloaded.

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.89.4
Fix# pom.xml: bump <version>2.89.4</version> for org.jenkins-ci.main:jenkins-core
Maven/org.jenkins-ci.main:jenkins-core
Introduced in: 2.90Fixed in: 2.107
Fix# pom.xml: bump <version>2.107</version> for org.jenkins-ci.main:jenkins-core

References