{"answers":{"affected":"18 open source packages ship an affected version, including ca.uhn.hapi.fhir:org.hl7.fhir.convertors, ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 and ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-51132 exists.","fix":"Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.convertors to 6.4.0 or later.","what":"CVE-2024-51132 is a critical vulnerability in n/a, published on 5 Nov 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-51132 and fix it if it is affected.\n\nWhat it is: CVE-2024-51132 is a critical vulnerability in n/a, published on 5 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-51132 exists.\n\nAffected packages and fixed versions:\n- ca.uhn.hapi.fhir:org.hl7.fhir.convertors (Maven): affected all versions; fixed in 6.4.0\n- ca.uhn.hapi.fhir:org.hl7.fhir.convertors (Maven): affected all versions; fixed in 6.4.0\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (Maven): affected all versions; fixed in 6.4.0\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (Maven): affected all versions; fixed in 6.4.0\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven): affected all versions; fixed in 6.4.0\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven): affected all versions; fixed in 6.4.0\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven): affected all versions; fixed in 6.4.0\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven): affected all versions; fixed in 6.4.0\n- ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven): affected all versions; fixed in 6.4.0\n- ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven): affected all versions; fixed in 6.4.0\n- ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven): affected all versions; fixed in 6.4.0\n- ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven): affected all versions; fixed in 6.4.0\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-51132/ (Markdown: https://insights.sbomify.com/CVE-2024-51132/index.md)","id":"CVE-2024-51132","markdown":"https://insights.sbomify.com/CVE-2024-51132/index.md","name":"CVE-2024-51132","record":{"aliases":["GHSA-4cf2-cxp3-rjr7","ROOT-APP-MAVEN-CVE-2024-51132"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"HAPI FHIR library","requires_auth":"none","summary":"Attackers can access sensitive information or execute arbitrary code via crafted XML requests in the HAPI FHIR library.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2024-11-02","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-11-02T14:30:29Z","kind":"github_poc","ref":"https://github.com/JAckLosingHeart/CVE-2024-51132-POC","stars":1,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"HAPI FHIR XML External Entity (XXE) vulnerability","id":"CVE-2024-51132","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xxe","year":"2024"},"n_packages":18,"n_references":2,"next":{"headline":"powertac-server XML External Entity vulnerability","id":"CVE-2024-51135"},"packages":[{"ecosystem":"Maven","fixed":["6.4.0"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.convertors","purl":null,"source":"GHSA-4cf2-cxp3-rjr7"},{"ecosystem":"Maven","fixed":["6.4.0"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.convertors","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.convertors","source":"GHSA-4cf2-cxp3-rjr7"},{"ecosystem":"Maven","fixed":["6.4.0"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2","purl":null,"source":"GHSA-4cf2-cxp3-rjr7"},{"ecosystem":"Maven","fixed":["6.4.0"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.dstu2","source":"GHSA-4cf2-cxp3-rjr7"},{"ecosystem":"Maven","fixed":["6.4.0"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may","purl":null,"source":"GHSA-4cf2-cxp3-rjr7"},{"ecosystem":"Maven","fixed":["6.4.0"],"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-4cf2-cxp3-rjr7"},{"ecosystem":"Maven","fixed":["6.4.0"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu3","purl":null,"source":"GHSA-4cf2-cxp3-rjr7"},{"ecosystem":"Maven","fixed":["6.4.0"],"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-4cf2-cxp3-rjr7"},{"ecosystem":"Maven","fixed":["6.4.0"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4","purl":null,"source":"GHSA-4cf2-cxp3-rjr7"},{"ecosystem":"Maven","fixed":["6.4.0"],"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-4cf2-cxp3-rjr7"},{"ecosystem":"Maven","fixed":["6.4.0"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4b","purl":null,"source":"GHSA-4cf2-cxp3-rjr7"},{"ecosystem":"Maven","fixed":["6.4.0"],"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-4cf2-cxp3-rjr7"},{"ecosystem":"Maven","fixed":["6.4.0"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r5","purl":null,"source":"GHSA-4cf2-cxp3-rjr7"},{"ecosystem":"Maven","fixed":["6.4.0"],"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-4cf2-cxp3-rjr7"},{"ecosystem":"Maven","fixed":["6.4.0"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.utilities","purl":null,"source":"GHSA-4cf2-cxp3-rjr7"},{"ecosystem":"Maven","fixed":["6.4.0"],"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-4cf2-cxp3-rjr7"},{"ecosystem":"Maven","fixed":["6.4.0"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.validation","purl":null,"source":"GHSA-4cf2-cxp3-rjr7"},{"ecosystem":"Maven","fixed":["6.4.0"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.validation","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.validation","source":"GHSA-4cf2-cxp3-rjr7"}],"prev":{"headline":"hornetq vulnerable to file overwrite, sensitive information disclosure","id":"CVE-2024-51127"},"products":["n/a"],"published":"2024-11-05","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-06","vendors":["n/a"]},"summary":"Attackers can access sensitive information or execute arbitrary code via crafted XML requests in the HAPI FHIR library.","url":"https://insights.sbomify.com/CVE-2024-51132/"}