4.3medium
Path traversal vulnerability in Jenkins Fortify Plugin
- Severity
- 4.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.22% (higher than 69% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-23h5-8ph6-7rfc
Description
Jenkins Fortify Plugin 20.2.34 and earlier does not sanitize the appName and appVersion parameters of its Pipeline steps, allowing attackers with Item/Configure permission to write or overwrite .xml files on the Jenkins controller file system with content not controllable by the attacker.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins Fortify Plugin | from unspecified up to 20.2.34 | CVE List |
| org.jenkins-ci.plugins:fortify (Maven) | before 20.2.35 | GitHub Advisory Database |
| jenkins fortify | up to 20.2.34 | NVD |
All scores
| GitHub | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Classification
What each source says
CVE List
Jenkins Fortify Plugin 20.2.34 and earlier does not sanitize the appName and appVersion parameters of its Pipeline steps, allowing attackers with Item/Configure permission to write or overwrite .xml files on the Jenkins controller file system with content not controllable by the attacker.
GitHub Advisory Database
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.
NVD (es)
Jenkins Fortify Plugin versiones 20.2.34 y anteriores, no sanea los parĂ¡metros appName y appVersion de sus pasos de Pipeline, permitiendo a atacantes con permiso Item/Configure escribir o sobrescribir archivos .xml en el sistema de archivos del controlador Jenkins con contenido no controlable por el atacante
References
| https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2214 | issue-tracking, patch, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/02/15/2 | mailing-list, third-party-advisory, web | |
| 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-25188 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-23h5-8ph6-7rfc changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2022-25188 changed 2026-06-17 | Public domain |