{"answers":{"affected":"12 open source packages ship an affected version, including ca.uhn.hapi.fhir:org.hl7.fhir.convertors, ca.uhn.hapi.fhir:org.hl7.fhir.core and ca.uhn.hapi.fhir:org.hl7.fhir.r4b. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-28465 exists.","fix":"Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.convertors to 5.6.106 or later.","what":"CVE-2023-28465 is a high-severity path traversal vulnerability in n/a, published on 12 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-28465 and fix it if it is affected.\n\nWhat it is: CVE-2023-28465 is a high-severity path traversal vulnerability in n/a, published on 12 Dec 2023. 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-2023-28465 exists.\n\nAffected packages and fixed versions:\n- ca.uhn.hapi.fhir:org.hl7.fhir.convertors (Maven): affected all versions; fixed in 5.6.106\n- ca.uhn.hapi.fhir:org.hl7.fhir.convertors (Maven): affected all versions; fixed in 5.6.106\n- ca.uhn.hapi.fhir:org.hl7.fhir.core (Maven): affected all versions; fixed in 5.6.106\n- ca.uhn.hapi.fhir:org.hl7.fhir.core (Maven): affected all versions; fixed in 5.6.106\n- ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven): affected all versions; fixed in 5.6.106\n- ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven): affected all versions; fixed in 5.6.106\n- ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven): affected all versions; fixed in 5.6.106\n- ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven): affected all versions; fixed in 5.6.106\n- ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven): affected all versions; fixed in 5.6.106\n- ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven): affected all versions; fixed in 5.6.106\n- ca.uhn.hapi.fhir:org.hl7.fhir.validation (Maven): affected all versions; fixed in 5.6.106\n- ca.uhn.hapi.fhir:org.hl7.fhir.validation (Maven): affected all versions; fixed in 5.6.106\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-2023-28465/ (Markdown: https://insights.sbomify.com/CVE-2023-28465/index.md)","id":"CVE-2023-28465","markdown":"https://insights.sbomify.com/CVE-2023-28465/index.md","name":"CVE-2023-28465","record":{"aliases":["GHSA-9654-pr4f-gh6m"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"HL7 FHIR Core Libraries","requires_auth":"none","summary":"Attackers can copy arbitrary files to directories via path traversal in HL7 FHIR Core Libraries package decompression.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"hl7_fhir_core","vendor":"hapifhir"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"The package-decompression feature in HL7 (Health Level 7) FHIR Core Libraries before 5.6.106 allows attackers to copy arbitrary files to certain directories via directory traversal, if an allowed directory name is a substring of the directory name chosen by the attacker. NOTE: this issue exists because of an incomplete fix for CVE-2023-24057.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2025-08-17","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-08-17T10:27:15Z","kind":"github_poc","ref":"https://github.com/shoucheng3/hapifhir__org_hl7_fhir_core_CVE-2023-28465_5-6-1055","stars":0,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"HL7 FHIR Partial Path Zip Slip due to bypass of CVE-2023-24057","id":"CVE-2023-28465","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":12,"n_references":3,"next":{"headline":"Race condition in n/a","id":"CVE-2023-28466"},"packages":[{"ecosystem":"Maven","fixed":["5.6.106"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.convertors","purl":null,"source":"GHSA-9654-pr4f-gh6m"},{"ecosystem":"Maven","fixed":["5.6.106"],"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-9654-pr4f-gh6m"},{"ecosystem":"Maven","fixed":["5.6.106"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.core","purl":null,"source":"GHSA-9654-pr4f-gh6m"},{"ecosystem":"Maven","fixed":["5.6.106"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.core","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.core","source":"GHSA-9654-pr4f-gh6m"},{"ecosystem":"Maven","fixed":["5.6.106"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4b","purl":null,"source":"GHSA-9654-pr4f-gh6m"},{"ecosystem":"Maven","fixed":["5.6.106"],"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-9654-pr4f-gh6m"},{"ecosystem":"Maven","fixed":["5.6.106"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r5","purl":null,"source":"GHSA-9654-pr4f-gh6m"},{"ecosystem":"Maven","fixed":["5.6.106"],"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-9654-pr4f-gh6m"},{"ecosystem":"Maven","fixed":["5.6.106"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.utilities","purl":null,"source":"GHSA-9654-pr4f-gh6m"},{"ecosystem":"Maven","fixed":["5.6.106"],"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-9654-pr4f-gh6m"},{"ecosystem":"Maven","fixed":["5.6.106"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.validation","purl":null,"source":"GHSA-9654-pr4f-gh6m"},{"ecosystem":"Maven","fixed":["5.6.106"],"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-9654-pr4f-gh6m"}],"prev":{"headline":"Use after free in n/a","id":"CVE-2023-28464"},"products":["n/a"],"published":"2023-12-12","related":[{"cvss_score":9.3,"headline":"HAPI FHIR: Unauthenticated SSRF via /loadIG Chains with startsWith() Credential Leak for Authentication Token Theft","id":"CVE-2026-34361","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":8.7,"headline":"HAPI FHIR: XXE in XsltUtilities.saxonTransform via unhardened Saxon TransformerFactory","id":"CVE-2026-55471","kev_date_added":null,"published":"2026-07-08"},{"cvss_score":8.1,"headline":"MITM based Zip Slip in `ca.uhn.hapi.fhir:org.hl7.fhir.core`","id":"CVE-2023-24057","kev_date_added":null,"published":"2023-01-24"},{"cvss_score":7.5,"headline":"HAPI FHIR: DSTU2 FHIRPathEngine.matches() missing RegexTimeout protection allows ReDoS","id":"CVE-2026-55470","kev_date_added":null,"published":"2026-07-08"},{"cvss_score":7.4,"headline":"HAPI FHIR: Authentication Credential Leakage via Improper URL Prefix Matching on HTTP Redirect in HAPI FHIR Core","id":"CVE-2026-34359","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":5.8,"headline":"HAPI FHIR: Unauthenticated Blind SSRF via /loadIG Endpoint Enables Internal Network Probing","id":"CVE-2026-34360","kev_date_added":null,"published":"2026-03-31"}],"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":"US public information, NVD API terms","name":"NVD"},{"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-27","vendors":["n/a"]},"summary":"Attackers can copy arbitrary files to directories via path traversal in HL7 FHIR Core Libraries package decompression.","url":"https://insights.sbomify.com/CVE-2023-28465/"}