Data Sharing Framework is Missing Session Timeout for OIDC Sessions
Affected Components
DSF FHIR Server with enabled OIDC authentication. DSF BPE Server with enabled OIDC authentication.
Summary
OIDC-authenticated sessions had no configured maximum inactivity timeout. Sessions persisted indefinitely after login, even after the OIDC access token expired.
Impact
If a user logs in via OIDC and leaves their browser without explicitly logging out, the session remains valid indefinitely. Another person using the same browser can access the DSF UI with the previous user's permissions. This is a realistic threat in hospital environments with shared workstations.
Only affects OIDC browser sessions, not relevant for mTLS machine-to-machine communication.
Fix (commits f4ecb00, 7d25fea)
- Added configurable session timeout via
dev.dsf.server.auth.oidc.session.timeout(default:PT30M). - Enabled
logoutWhenIdTokenIsExpired(true)in OpenID configuration to tie session lifetime to token lifetime. - Websocket sessions are now closed with
VIOLATED_POLICYwhen credentials expire, prevents stale websocket connections from continuing to receive events after session timeout.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | dev.dsf:dsf-bpe-server | alle Versionen | keine Korrektur |
| Java / Kotlin (Maven) | dev.dsf:dsf-common-jetty | alle Versionen | keine Korrektur |
| Java / Kotlin (Maven) | dev.dsf:dsf-fhir-server | alle Versionen | keine Korrektur |
Verweise
- https://github.com/datasharingframework/dsf/security/advisories/GHSA-gj7p-595x-qwf5
- https://nvd.nist.gov/vuln/detail/CVE-2026-40939
- https://github.com/datasharingframework/dsf/commit/7d25feafb83d66cb59985ac88568b67d937b1937
- https://github.com/datasharingframework/dsf/commit/f4ecb002f7d12642f92da6b79371ed367d0140e7
- https://dsf.dev/operations/v2.1.0/bpe/oidc.html
- https://dsf.dev/operations/v2.1.0/fhir/oidc.html
- https://github.com/datasharingframework/dsf
- CVSS-Vektor
CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N- Schwäche (CWE)
CWE-613- Plattform
- Java / Kotlin (Maven)
- Paket
dev.dsf:dsf-bpe-server, dev.dsf:dsf-common-jetty, dev.dsf:dsf-fhir-server- Veröffentlicht
- 15.04.2026
- Aktualisiert
- 11.10.2026 12:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-gj7p-595x-qwf5 - CC BY 4.0
Schwachstellenhistorie: dev.dsf:dsf-common-jetty
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.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
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.