jenkinsci/warnings-ng-plugin · Security
Path Traversal in Jenkins Warnings Next Generation Plugin
- GHSA ID
- GHSA-rvh4-g2rj-hr9c
- CVE ID
- CVE-2022-23107
- Severity
- high
- Published
- Updated
- CVSS
- 8.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CVSS v3
- 8.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Description
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.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-23107 ↗
- https://www.jenkins.io/security/advisory/2022-01-12/#SECURITY-2090 ↗
- http://www.openwall.com/lists/oss-security/2022/01/12/6 ↗
- https://github.com/jenkinsci/warnings-ng-plugin/releases/tag/v9.10.3 ↗
- https://github.com/CVEProject/cvelist/blob/36f932156733baab1b13868be4338de406a1dec7/2022/23xxx/CVE-2022-23107.json ↗
- https://github.com/advisories/GHSA-rvh4-g2rj-hr9c ↗