GitHub Advisoryadvisory · Maven

GHSA-pp8m-prr7-wr8w Jenkins Sidebar Link Plugin vulnerable to Path Traversal

MEDIUM Published 2023-05-16 Modified 2023-05-17 Official page ↗
Aliases
CVE-2023-32985
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:sidebar-link
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-22
Reviewed
2023-05-17

Affected packages

• Maven org.jenkins-ci.plugins:sidebar-link: < 2.2.2 → fixed in 2.2.2

Description

Jenkins Sidebar Link Plugin allows specifying files in the `userContent/` directory for use as link icons. Sidebar Link Plugin 2.2.1 and earlier does not restrict the path of files in a method implementing form validation. This allows attackers with Overall/Read permission to check for the existence of an attacker-specified file path on the Jenkins controller file system. Sidebar Link Plugin 2.2.2 ensures that only files located within the expected `userContent/` directory can be accessed.

Related

Alias · CVE (1)

  • CVE-2023-32985 Jenkins Sidebar Link Plugin 2.2.1 and earlier does not restrict the path of files in a method implementing form validation, allowing… vulnerability

Weakness · CWE (1)

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

References