CVE-2024-51132 is a high-severity open redirect vulnerability in ca.uhn.hapi.fhir:org.hl7.fhir.convertors (maven), affecting versions < 6.4.0. It is fixed in 6.4.0.
An XML External Entity (XXE) vulnerability in HAPI FHIR before v6.4.0 allows attackers to access sensitive information or execute arbitrary code via supplying a crafted request containing malicious XML entities.
Untrusted input controls a URL used for redirection, which can forward users to attacker-controlled sites. Typical impact: phishing and credential harvesting via a trusted domain.
CVE-2024-51132 has a CVSS score of 9.8 (High). The vector is network-reachable, no privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.
A fixed version is available (6.4.0). Upgrading removes the vulnerable code path.
maven
ca.uhn.hapi.fhir:org.hl7.fhir.convertors (< 6.4.0)ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (< 6.4.0)ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (< 6.4.0)ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (< 6.4.0)ca.uhn.hapi.fhir:org.hl7.fhir.r4 (< 6.4.0)ca.uhn.hapi.fhir:org.hl7.fhir.r4b (< 6.4.0)ca.uhn.hapi.fhir:org.hl7.fhir.r5 (< 6.4.0)ca.uhn.hapi.fhir:org.hl7.fhir.utilities (< 6.4.0)ca.uhn.hapi.fhir:org.hl7.fhir.validation (< 6.4.0)ca.uhn.hapi.fhir:org.hl7.fhir.convertors → 6.4.0 (maven)ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 → 6.4.0 (maven)ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may → 6.4.0 (maven)ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 → 6.4.0 (maven)ca.uhn.hapi.fhir:org.hl7.fhir.r4 → 6.4.0 (maven)ca.uhn.hapi.fhir:org.hl7.fhir.r4b → 6.4.0 (maven)ca.uhn.hapi.fhir:org.hl7.fhir.r5 → 6.4.0 (maven)ca.uhn.hapi.fhir:org.hl7.fhir.utilities → 6.4.0 (maven)ca.uhn.hapi.fhir:org.hl7.fhir.validation → 6.4.0 (maven)Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.
Kodem's runtime-powered SCA identifies whether CVE-2024-51132 is reachable in your applications. Explore open-source security for your team.
See if CVE-2024-51132 is reachable in your applications. Get a demo
Upgrade the following packages to resolve this vulnerability:
ca.uhn.hapi.fhir:org.hl7.fhir.convertors to 6.4.0 or laterca.uhn.hapi.fhir:org.hl7.fhir.dstu2 to 6.4.0 or laterca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may to 6.4.0 or laterca.uhn.hapi.fhir:org.hl7.fhir.dstu3 to 6.4.0 or laterca.uhn.hapi.fhir:org.hl7.fhir.r4 to 6.4.0 or laterca.uhn.hapi.fhir:org.hl7.fhir.r4b to 6.4.0 or laterca.uhn.hapi.fhir:org.hl7.fhir.r5 to 6.4.0 or laterca.uhn.hapi.fhir:org.hl7.fhir.utilities to 6.4.0 or laterca.uhn.hapi.fhir:org.hl7.fhir.validation to 6.4.0 or laterKodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
CVE-2024-51132 is a high-severity open redirect vulnerability in ca.uhn.hapi.fhir:org.hl7.fhir.convertors (maven), affecting versions < 6.4.0. It is fixed in 6.4.0. Untrusted input controls a URL used for redirection, which can forward users to attacker-controlled sites.
CVE-2024-51132 has a CVSS score of 9.8 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
ca.uhn.hapi.fhir:org.hl7.fhir.convertors (maven) (versions < 6.4.0)ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (maven) (versions < 6.4.0)ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (maven) (versions < 6.4.0)ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (maven) (versions < 6.4.0)ca.uhn.hapi.fhir:org.hl7.fhir.r4 (maven) (versions < 6.4.0)ca.uhn.hapi.fhir:org.hl7.fhir.r4b (maven) (versions < 6.4.0)ca.uhn.hapi.fhir:org.hl7.fhir.r5 (maven) (versions < 6.4.0)ca.uhn.hapi.fhir:org.hl7.fhir.utilities (maven) (versions < 6.4.0)ca.uhn.hapi.fhir:org.hl7.fhir.validation (maven) (versions < 6.4.0)Yes. CVE-2024-51132 is fixed in 6.4.0. Upgrade to this version or later.
Whether CVE-2024-51132 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
ca.uhn.hapi.fhir:org.hl7.fhir.convertors to 6.4.0 or laterca.uhn.hapi.fhir:org.hl7.fhir.dstu2 to 6.4.0 or laterca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may to 6.4.0 or laterca.uhn.hapi.fhir:org.hl7.fhir.dstu3 to 6.4.0 or laterca.uhn.hapi.fhir:org.hl7.fhir.r4 to 6.4.0 or laterca.uhn.hapi.fhir:org.hl7.fhir.r4b to 6.4.0 or laterca.uhn.hapi.fhir:org.hl7.fhir.r5 to 6.4.0 or laterca.uhn.hapi.fhir:org.hl7.fhir.utilities to 6.4.0 or laterca.uhn.hapi.fhir:org.hl7.fhir.validation to 6.4.0 or later