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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.jenkins-ci.main:jenkins-core | < 2.204.6, >= 2.205, < 2.228 | 2.204.6, 2.228 |
Verweise
- 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
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- Schwäche (CWE)
CWE-352, CWE-435- Plattform
- Java / Kotlin (Maven)
- Paket
org.jenkins-ci.main:jenkins-core- Veröffentlicht
- 24.05.2022
- Aktualisiert
- 11.10.2026 12:21
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-c735-g9f2-2mvp - CC BY 4.0
Schwachstellenhistorie: org.jenkins-ci.main:jenkins-core
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 259
- Erste → letzte
- 01.2022 06.2026
- Ohne Fix
- 1
- In Angriffen ausgenutzt
- 4
Verteilung nach Schweregrad
- Kritisch 19
- Hoch 62
- Mittel 158
- Niedrig 20
Veröffentlichungen pro Jahr
- 2022: 213
- 2023: 14
- 2024: 6
- 2025: 14
- 2026: 12
-
Cross-Site Request Forgery in Jenkins dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.