GitHub Advisoryadvisory · Maven

GHSA-5p59-v5wm-77v4 Improper Limitation of a Pathname to a Restricted Directory in Jenkins

MEDIUM Published 2022-05-13 Modified 2024-03-01 Official page ↗
Aliases
CVE-2018-6356
Ecosystem
Maven
Packages
org.jenkins-ci.main:jenkins-core
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2022-06-28

Affected packages

• Maven org.jenkins-ci.main:jenkins-core: < 2.89.4 → fixed in 2.89.4 • Maven org.jenkins-ci.main:jenkins-core: >= 2.90, < 2.107 → fixed in 2.107

Description

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.

Related

Alias · CVE (1)

  • CVE-2018-6356 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… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References