medium4.3
CVE-2022-25188
Path traversal vulnerability in Jenkins Fortify Plugin
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins:fortify | < 20.2.35 | 20.2.35 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Fortify | through 20.2.34 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2022/02/15/2
- https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2214
- https://github.com/advisories/GHSA-23h5-8ph6-7rfc
- https://nvd.nist.gov/vuln/detail/CVE-2022-25188
- https://github.com/jenkinsci/fortify-plugin/commit/ba3030cb63bb86b6bb13342664e0e319f2fee374