{"answers":{"affected":"12 open source packages ship an affected version, including ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may, ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 and ca.uhn.hapi.fhir:org.hl7.fhir.r4.","exploited":"There is no known exploitation of CVE-2024-45294 in the wild and no public exploit code.","fix":"Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may to 6.3.23 or later.","what":"CVE-2024-45294 is a high-severity vulnerability in hapifhir org.hl7.fhir.core, published on 6 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-45294 and fix it if it is affected.\n\nWhat it is: CVE-2024-45294 is a high-severity vulnerability in hapifhir org.hl7.fhir.core, published on 6 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-45294 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven): affected all versions; fixed in 6.3.23\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven): affected all versions; fixed in 6.3.23\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven): affected all versions; fixed in 6.3.23\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven): affected all versions; fixed in 6.3.23\n- ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven): affected all versions; fixed in 6.3.23\n- ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven): affected all versions; fixed in 6.3.23\n- ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven): affected all versions; fixed in 6.3.23\n- ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven): affected all versions; fixed in 6.3.23\n- ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven): affected all versions; fixed in 6.3.23\n- ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven): affected all versions; fixed in 6.3.23\n- ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven): affected all versions; fixed in 6.3.23\n- ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven): affected all versions; fixed in 6.3.23\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-45294/ (Markdown: https://insights.sbomify.com/CVE-2024-45294/index.md)","id":"CVE-2024-45294","markdown":"https://insights.sbomify.com/CVE-2024-45294/index.md","name":"CVE-2024-45294","record":{"aliases":["CVE-2024-45295","GHSA-6cr6-ph3p-f5rf","ROOT-APP-MAVEN-CVE-2024-45294"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"HL7 FHIR Java library","requires_auth":"none","summary":"An attacker can read host system data via XML external entity injection in XSLT transforms within the HL7 FHIR Core library.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"The HL7 FHIR Core Artifacts repository provides the java core object handling code, with utilities (including validator), for the Fast Healthcare Interoperability Resources (FHIR) specification. Prior to version 6.3.23, XSLT transforms performed by various components are vulnerable to XML external entity injections. A processed XML file with a malicious DTD tag could produce XML containing data from the host system. This impacts use cases where org.hl7.fhir.core is being used to within a host where external clients can submit XML. This issue has been patched in release 6.3.23. No known workarounds are available.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"`org.hl7.fhir.core` XXE vulnerability in XSLT transforms","id":"CVE-2024-45294","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xxe","year":"2024"},"n_packages":12,"n_references":4,"next":{"headline":"path-to-regexp outputs backtracking regular expressions","id":"CVE-2024-45296"},"packages":[{"ecosystem":"Maven","fixed":["6.3.23"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may","purl":null,"source":"GHSA-6cr6-ph3p-f5rf"},{"ecosystem":"Maven","fixed":["6.3.23"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.dstu2016may","source":"GHSA-6cr6-ph3p-f5rf"},{"ecosystem":"Maven","fixed":["6.3.23"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu3","purl":null,"source":"GHSA-6cr6-ph3p-f5rf"},{"ecosystem":"Maven","fixed":["6.3.23"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu3","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.dstu3","source":"GHSA-6cr6-ph3p-f5rf"},{"ecosystem":"Maven","fixed":["6.3.23"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4","purl":null,"source":"GHSA-6cr6-ph3p-f5rf"},{"ecosystem":"Maven","fixed":["6.3.23"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.r4","source":"GHSA-6cr6-ph3p-f5rf"},{"ecosystem":"Maven","fixed":["6.3.23"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4b","purl":null,"source":"GHSA-6cr6-ph3p-f5rf"},{"ecosystem":"Maven","fixed":["6.3.23"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4b","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.r4b","source":"GHSA-6cr6-ph3p-f5rf"},{"ecosystem":"Maven","fixed":["6.3.23"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r5","purl":null,"source":"GHSA-6cr6-ph3p-f5rf"},{"ecosystem":"Maven","fixed":["6.3.23"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r5","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.r5","source":"GHSA-6cr6-ph3p-f5rf"},{"ecosystem":"Maven","fixed":["6.3.23"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.utilities","purl":null,"source":"GHSA-6cr6-ph3p-f5rf"},{"ecosystem":"Maven","fixed":["6.3.23"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.utilities","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.utilities","source":"GHSA-6cr6-ph3p-f5rf"}],"prev":{"headline":"XML External Entity Reference (XXE) in PHPSpreadsheet's XLSX reader","id":"CVE-2024-45293"},"products":["org.hl7.fhir.core"],"published":"2024-09-06","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-06","vendors":["hapifhir"]},"summary":"An attacker can read host system data via XML external entity injection in XSLT transforms within the HL7 FHIR Core library.","url":"https://insights.sbomify.com/CVE-2024-45294/"}