GitHub Advisoryadvisory · Maven
GHSA-23h5-8ph6-7rfc Path traversal vulnerability in Jenkins Fortify Plugin
MEDIUM
Official page ↗
- Aliases
- CVE-2022-25188
- Ecosystem
- Maven
- Packages
- org.jenkins-ci.plugins:fortify
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2022-12-01
Affected packages
• Maven org.jenkins-ci.plugins:fortify: < 20.2.35 → fixed in 20.2.35
Description
Jenkins Fortify Plugin 20.2.34 and earlier does not sanitize the `appName` and `appVersion` parameters of its Pipeline steps, which are used to write to files inside build directories.
This allows attackers with Item/Configure permission to write or overwrite `.xml` files on the Jenkins controller file system with content not controllable by the attacker.
Jenkins Fortify Plugin 20.2.35 sanitizes the `appName` and `appVersion` parameters of its Pipeline steps when determining the resulting filename.
Related
Alias · CVE (1)
- CVE-2022-25188 Jenkins Fortify Plugin 20.2.34 and earlier does not sanitize the appName and appVersion parameters of its Pipeline steps, allowing… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25188 advisory
- https://github.com/jenkinsci/fortify-plugin/commit/ba3030cb63bb86b6bb13342664e0e319f2fee374 web
- https://github.com/jenkinsci/fortify-plugin package
- https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2214 web
- http://www.openwall.com/lists/oss-security/2022/02/15/2 web