GHSA-rvh4-g2rj-hr9c
Path Traversal in Jenkins Warnings Next Generation Plugin
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | io.jenkins.plugins:warnings-ng | >= 9.8.0, < 9.10.3 | 9.10.3 |
| Maven | io.jenkins.plugins:warnings-ng | >= 9.6.0, < 9.7.1 | 9.7.1 |
| Maven | io.jenkins.plugins:warnings-ng | >= 9.1.0, < 9.5.2 | 9.5.2 |
| Maven | io.jenkins.plugins:warnings-ng | < 9.0.2 | 9.0.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
Jenkins Warnings Next Generation Plugin prior to 9.10.3, 9.7.1, 9.5.2, and 9.0.2 does not restrict the name of a file when configuring a custom ID.
This allows attackers with Item/Configure permission to write and read specific files with a hard-coded suffix on the Jenkins controller file system.
Jenkins Warnings Next Generation Plugin 9.10.3, 9.7.1, 9.5.2, and 9.0.2 checks for the presence of prohibited directory separator characters in the custom ID.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2022-23107
- https://github.com/CVEProject/cvelist/blob/36f932156733baab1b13868be4338de406a1dec7/2022/23xxx/CVE-2022-23107.json
- https://github.com/jenkinsci/warnings-ng-plugin
- https://github.com/jenkinsci/warnings-ng-plugin/releases/tag/v9.10.3
- https://www.jenkins.io/security/advisory/2022-01-12/#SECURITY-2090
- http://www.openwall.com/lists/oss-security/2022/01/12/6