{"answers":{"affected":"2 open source packages ship an affected version, including org.fhir:ucum.","exploited":"There is no known exploitation of CVE-2024-55887 in the wild and no public exploit code.","fix":"Upgrade org.fhir:ucum to 1.0.9 or later.","what":"CVE-2024-55887 is a high-severity vulnerability in FHIR Ucum-java, published on 13 Dec 2024."},"fix_prompt":"Check this codebase for CVE-2024-55887 and fix it if it is affected.\n\nWhat it is: CVE-2024-55887 is a high-severity vulnerability in FHIR Ucum-java, published on 13 Dec 2024. \nExploitation: There is no known exploitation of CVE-2024-55887 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.fhir:ucum (Maven): affected all versions; fixed in 1.0.9\n- org.fhir:ucum (Maven): affected all versions; fixed in 1.0.9\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-55887/ (Markdown: https://insights.sbomify.com/CVE-2024-55887/index.md)","id":"CVE-2024-55887","markdown":"https://insights.sbomify.com/CVE-2024-55887/index.md","name":"CVE-2024-55887","record":{"aliases":["GHSA-w9j7-phm3-f97j","ROOT-APP-MAVEN-CVE-2024-55887"],"analysis":null,"analysis_generated_by":null,"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":"Ucum-java is a FHIR Java library providing UCUM Services. In versions prior to 1.0.9, XML parsing performed by the UcumEssenceService is 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 ucum is being used to within a host where external clients can submit XML. Release 1.0.9 of Ucum-java fixes this vulnerability. As a workaround, ensure that the source xml for instantiating UcumEssenceService is trusted.","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":"Ucum-java has an XXE vulnerability in XML parsing","id":"CVE-2024-55887","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":null,"year":"2024"},"n_packages":2,"n_references":1,"next":{"headline":"Content Security Policy appears to be missing in software and production setup","id":"CVE-2024-55888"},"packages":[{"ecosystem":"Maven","fixed":["1.0.9"],"introduced":["0"],"last_affected":[],"package":"org.fhir:ucum","purl":null,"source":"GHSA-w9j7-phm3-f97j"},{"ecosystem":"Maven","fixed":["1.0.9"],"introduced":["0"],"last_affected":[],"package":"org.fhir:ucum","purl":"pkg:maven/org.fhir/ucum","source":"GHSA-w9j7-phm3-f97j"}],"prev":{"headline":"OpenTelemetry Logs source may lack authentication with some custom plugins","id":"CVE-2024-55886"},"products":["Ucum-java"],"published":"2024-12-13","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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-12-13","vendors":["FHIR"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2024-55887/"}