ADVISORIES

GitHub Advisory Database

GHSA-5p59-v5wm-77v4

Improper Limitation of a Pathname to a Restricted Directory in Jenkins

Moderate CVE-2018-6356

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.jenkins-ci.main:jenkins-core
All versions before 2.89.4 (fixed in 2.89.4)
Mavenorg.jenkins-ci.main:jenkins-core
From 2.90 before 2.107 (fixed in 2.107)

References