GHSA-p7m9-v2cm-2h7m
HAPI FHIR HTTP authentication leak in redirects
Quick fix
GHSA-p7m9-v2cm-2h7m — ca.uhn.hapi.fhir:org.hl7.fhir.utilities: upgrade to the fixed version with the command below.
# pom.xml: bump <version>6.9.0</version> for ca.uhn.hapi.fhir:org.hl7.fhir.utilitiesDetails
### Impact 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.
### Patches This issue has been patched in release 6.8.3
### Workarounds None.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 6.9.0# pom.xml: bump <version>6.9.0</version> for ca.uhn.hapi.fhir:org.hl7.fhir.utilities0Fixed in: 6.9.0# pom.xml: bump <version>6.9.0</version> for ca.uhn.hapi.fhir:org.hl7.fhir.convertors0Fixed in: 6.9.0# pom.xml: bump <version>6.9.0</version> for ca.uhn.hapi.fhir:org.hl7.fhir.dstu20Fixed in: 6.9.0# pom.xml: bump <version>6.9.0</version> for ca.uhn.hapi.fhir:org.hl7.fhir.dstu30Fixed in: 6.9.0# pom.xml: bump <version>6.9.0</version> for ca.uhn.hapi.fhir:org.hl7.fhir.dstu3.support0Fixed in: 6.9.0# pom.xml: bump <version>6.9.0</version> for ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may0Fixed in: 6.9.0# pom.xml: bump <version>6.9.0</version> for ca.uhn.hapi.fhir:org.hl7.fhir.model0Fixed in: 6.9.0# pom.xml: bump <version>6.9.0</version> for ca.uhn.hapi.fhir:org.hl7.fhir.r40Fixed in: 6.9.0# pom.xml: bump <version>6.9.0</version> for ca.uhn.hapi.fhir:org.hl7.fhir.r4b0Fixed in: 6.9.0# pom.xml: bump <version>6.9.0</version> for ca.uhn.hapi.fhir:org.hl7.fhir.r50Fixed in: 6.9.0# pom.xml: bump <version>6.9.0</version> for ca.uhn.hapi.fhir:org.hl7.fhir.validation0Fixed in: 6.9.0# pom.xml: bump <version>6.9.0</version> for ca.uhn.hapi.fhir:org.hl7.fhir.validation.cliReferences
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.utilities"]}'