Cross-Site Request Forgery in Jenkins
An extension point in Jenkins allows selectively disabling cross-site request forgery (CSRF) protection for specific URLs.
Implementations of that extension point received a different representation of the URL path than the Stapler web framework uses to dispatch requests in Jenkins 2.227 and earlier, LTS 2.204.5 and earlier. This discrepancy allowed attackers to craft URLs that would bypass the CSRF protection of any target URL.
Jenkins now uses the same representation of the URL path to decide whether CSRF protection is needed for a given URL as the Stapler web framework uses.
In case of problems, administrators can disable this security fix by setting the system property hudson.security.csrf.CrumbFilter.UNPROCESSED_PATHINFO to true.
As an additional safeguard, semicolon (;) characters in the path part of a URL are now banned by default. Administrators can disable this protection by setting the system property jenkins.security.SuspiciousRequestFilter.allowSemicolonsInPath to true.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Java / Kotlin (Maven) | org.jenkins-ci.main:jenkins-core | < 2.204.6, >= 2.205, < 2.228 | 2.204.6, 2.228 |
Referencias
- https://nvd.nist.gov/vuln/detail/CVE-2020-2160
- https://github.com/jenkinsci/jenkins/commit/f479652171f4ab854747de64b22bf59adb35fb8f
- https://github.com/jenkinsci/jenkins/commit/f7cf28355973df1ca6eb19066370bf70b10742f7
- https://github.com/jenkinsci/jenkins
- https://jenkins.io/security/advisory/2020-03-25/#SECURITY-1774
- http://www.openwall.com/lists/oss-security/2020/03/25/2
- Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- Debilidad (CWE)
CWE-352, CWE-435- Plataforma
- Java / Kotlin (Maven)
- Paquete
org.jenkins-ci.main:jenkins-core- Publicada
- 24.05.2022
- Actualizado
- 11.10.2026 12:21
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-c735-g9f2-2mvp - CC BY 4.0
Historial de vulnerabilidades: org.jenkins-ci.main:jenkins-core
Todas las vulnerabilidades publicadas de este paquete (Java / Kotlin (Maven)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 259
- Primera → última
- 01.2022 06.2026
- Sin corrección
- 1
- Explotada en ataques
- 4
Distribución por gravedad
- Crítica 19
- Alta 62
- Media 158
- Baja 20
Divulgaciones por año
- 2022: 213
- 2023: 14
- 2024: 6
- 2025: 14
- 2026: 12
-
Cross-Site Request Forgery in Jenkins esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.