GitHub Advisoryadvisory · Maven

GHSA-4pw5-r58h-fv24 Path traversal vulnerability on Windows in Jenkins

MEDIUM Published 2022-05-24 Modified 2022-12-15 Official page ↗
Aliases
CVE-2021-21683
Ecosystem
Maven
Packages
org.jenkins-ci.main:jenkins-core
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2022-12-15

Affected packages

• Maven org.jenkins-ci.main:jenkins-core: < 2.303.2 → fixed in 2.303.2 • Maven org.jenkins-ci.main:jenkins-core: >= 2.304, < 2.315 → fixed in 2.315

Description

The file browser for workspaces, archived artifacts, and `userContent/` in Jenkins 2.314 and earlier, LTS 2.303.1 and earlier may interpret some paths to files as absolute on Windows. This results in a path traversal vulnerability allowing attackers with Overall/Read permission (Windows controller) or Job/Workspace permission (Windows agents) to obtain the contents of arbitrary files.\n\nThe file browser in Jenkins 2.315, LTS 2.303.2 refuses to serve files that would be considered absolute paths.

Related

Alias · CVE (1)

  • CVE-2021-21683 The file browser in Jenkins 2.314 and earlier, LTS 2.303.1 and earlier may interpret some paths to files as absolute on Windows, resulting… vulnerability

Weakness · CWE (1)

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

References