medium4.3
CVE-2023-32985
Jenkins Sidebar Link Plugin vulnerable to Path Traversal
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins:sidebar-link | < 2.2.2 | 2.2.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Sidebar Link | through 2.2.1 |