Hapifhir org.hl7.fhir.core
HAPI FHIR HTTP authentication leak in redirects
HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to version 6.9.0, when setting headers in HTTP requests, the internal HTTP client sends headers first to the host in the initial URL but also, if asked to follow redirects and a 30X HTTP response code is returned, to the host mentioned in URL in the Location: response header value. Sending the same set of headers to subsequent hosts is a problem as this header often contains privacy sensitive information or data that could allow others to impersonate the client's request. This issue has been patched in release 6.9.0. No known workarounds are available.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 6.9.0
Fixed in 6.9.0
Mitigation
Upgrade org.hl7.fhir.core to 6.9.0 or later.
References
- Vendor advisory github.com/hapifhir/org.hl7.fhir.core/security…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.