GHSA-gj7p-595x-qwf5

Suggest an improvement
Source
https://github.com/advisories/GHSA-gj7p-595x-qwf5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-gj7p-595x-qwf5/GHSA-gj7p-595x-qwf5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gj7p-595x-qwf5
Aliases
Published
2026-04-15T19:19:43Z
Modified
2026-05-05T16:06:56Z
Severity
  • 6.8 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Data Sharing Framework is Missing Session Timeout for OIDC Sessions
Details

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_POLICY when credentials expire, prevents stale websocket connections from continuing to receive events after session timeout.
Database specific
{
    "cwe_ids":  [
        "CWE-613"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-04-15T19:19:43Z",
    "nvd_published_at":  "2026-04-21T22:16:19Z",
    "severity":  "MODERATE"
}
References

Affected packages

Maven / dev.dsf:dsf-common-jetty

Package

Name
dev.dsf:dsf-common-jetty
View open source insights on deps.dev
Purl
pkg:maven/dev.dsf/dsf-common-jetty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0-M1
1.0.0
1.1.0
1.2.0-RC1
1.2.0
1.3.0
1.3.1
1.3.2
1.4.0
1.5.0
1.5.1
1.5.2
1.6.0
1.7.0
1.7.1
1.8.0
1.9.0

Database specific

last_known_affected_version_range
"< 2.1.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-gj7p-595x-qwf5/GHSA-gj7p-595x-qwf5.json"

Maven / dev.dsf:dsf-fhir-server

Package

Name
dev.dsf:dsf-fhir-server
View open source insights on deps.dev
Purl
pkg:maven/dev.dsf/dsf-fhir-server

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0-M1
1.0.0
1.1.0
1.2.0-RC1
1.2.0
1.3.0
1.3.1
1.3.2
1.4.0
1.5.0
1.5.1
1.5.2
1.6.0
1.7.0
1.7.1
1.8.0
1.9.0

Database specific

last_known_affected_version_range
"< 2.1.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-gj7p-595x-qwf5/GHSA-gj7p-595x-qwf5.json"

Maven / dev.dsf:dsf-bpe-server

Package

Name
dev.dsf:dsf-bpe-server
View open source insights on deps.dev
Purl
pkg:maven/dev.dsf/dsf-bpe-server

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0-M1
1.0.0
1.1.0
1.2.0-RC1
1.2.0
1.3.0
1.3.1
1.3.2
1.4.0
1.5.0
1.5.1
1.5.2
1.6.0
1.7.0
1.7.1
1.8.0
1.9.0

Database specific

last_known_affected_version_range
"< 2.1.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-gj7p-595x-qwf5/GHSA-gj7p-595x-qwf5.json"