Time-of-check Time-of-use (TOCTOU) Race Condition in Jenkins
Due to a time-of-check to time-of-use (TOCTOU) race condition, the file browser for workspaces, archived artifacts, and $JENKINS_HOME/userContent/ follows symbolic links to locations outside the directory being browsed in Jenkins 2.275 and LTS 2.263.2.
This allows attackers with Job/Workspace permission and the ability to control workspace contents, e.g., with Job/Configure permission or the ability to change SCM contents, to create symbolic links that allow them to access files outside workspaces using the workspace browser.
This issue is caused by an incorrectly applied fix for SECURITY-1452 / CVE-2021-21602 in the 2021-01-13 security advisory.
Jenkins 2.276, LTS 2.263.3 no longer differentiates the check and the use of symlinks in workspace browsers.
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.263.3, >= 2.264, < 2.276 | 2.263.3, 2.276 |
Verweise
- CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N- Schwäche (CWE)
CWE-367- Plattform
- Java / Kotlin (Maven)
- Paket
org.jenkins-ci.main:jenkins-core- Veröffentlicht
- 24.05.2022
- Aktualisiert
- 11.10.2026 11:21
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-qxp6-27gw-99cj - 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
-
Time-of-check Time-of-use (TOCTOU) Race Condition 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.