CVE-2024-52007: XXE vulnerability in XSLT parsing in `org.hl7.fhir.core`

CVE-2024-52007 · Severity: low · CVSS 3.1 · Published 2024-11-08

XXE vulnerability in XSLT parsing in `org.hl7.fhir.core`

Technologies: ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven), ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven), ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven), ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven), ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven), ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven). Vendors: Maven.

Quick answers

Is CVE-2024-52007 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-52007 being exploited in the wild.
How severe is CVE-2024-52007?
Low severity, with a CVSS score of 3.1, published 8 November 2024.
Which products and versions are affected?
ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0; ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0; ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0; ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0; and 2 more.
Is there a fix for CVE-2024-52007?
Yes. ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven): upgrade to 6.4.0 or later; ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven): upgrade to 6.4.0 or later; ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven): upgrade to 6.4.0 or later; ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven): upgrade to 6.4.0 or later; ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven): upgrade to 6.4.0 or later; ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven): upgrade to 6.4.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-52007?
Check whether you run ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven), ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven), ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven): upgrade to 6.4.0 or later
    # set ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may to 6.4.0 in your pom.xml or build.gradle
  • ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven): upgrade to 6.4.0 or later
    # set ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 to 6.4.0 in your pom.xml or build.gradle
  • ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven): upgrade to 6.4.0 or later
    # set ca.uhn.hapi.fhir:org.hl7.fhir.r4 to 6.4.0 in your pom.xml or build.gradle
  • ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven): upgrade to 6.4.0 or later
    # set ca.uhn.hapi.fhir:org.hl7.fhir.r4b to 6.4.0 in your pom.xml or build.gradle
  • ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven): upgrade to 6.4.0 or later
    # set ca.uhn.hapi.fhir:org.hl7.fhir.r5 to 6.4.0 in your pom.xml or build.gradle
  • ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven): upgrade to 6.4.0 or later
    # set ca.uhn.hapi.fhir:org.hl7.fhir.utilities to 6.4.0 in your pom.xml or build.gradle

Affected products

  • ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0
  • ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0
  • ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0
  • ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0
  • ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0
  • ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven) ECOSYSTEM:introduced=0,fixed=6.4.0

Identifiers

  • CVE-2024-52007
  • GHSA-gr3c-q7xf-47vh

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.