CVE-2022-25188
JSON

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 packageVersionsReported by
Jenkins project Jenkins Fortify Pluginfrom unspecified up to 20.2.34CVE List
org.jenkins-ci.plugins:fortify (Maven)before 20.2.35GitHub Advisory Database
jenkins fortifyup to 20.2.34NVD

All scores

GitHub4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD4.0medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2022-25188 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-23h5-8ph6-7rfc changed 2024-02-16CC-BY-4.0
NVDCVE-2022-25188 changed 2026-06-17Public domain