{"answers":{"affected":"14 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 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-24057 exists.","fix":"Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.convertors to 5.6.92 or later.","what":"CVE-2023-24057 is a high-severity path traversal vulnerability in n/a, published on 24 Jan 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-24057 and fix it if it is affected.\n\nWhat it is: CVE-2023-24057 is a high-severity path traversal vulnerability in n/a, published on 24 Jan 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-24057 exists.\n\nAffected packages and fixed versions:\n- ca.uhn.hapi.fhir:org.hl7.fhir.convertors (Maven): affected all versions; fixed in 5.6.92\n- ca.uhn.hapi.fhir:org.hl7.fhir.convertors (Maven): affected all versions; fixed in 5.6.92\n- ca.uhn.hapi.fhir:org.hl7.fhir.core (Maven): affected all versions; fixed in 5.6.92\n- ca.uhn.hapi.fhir:org.hl7.fhir.core (Maven): affected all versions; fixed in 5.6.92\n- ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven): affected all versions; fixed in 5.6.92\n- ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven): affected all versions; fixed in 5.6.92\n- ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven): affected all versions; fixed in 5.6.92\n- ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven): affected all versions; fixed in 5.6.92\n- ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven): affected all versions; fixed in 5.6.92\n- ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven): affected all versions; fixed in 5.6.92\n- ca.uhn.hapi.fhir:org.hl7.fhir.validation (Maven): affected all versions; fixed in 5.6.92\n- ca.uhn.hapi.fhir:org.hl7.fhir.validation (Maven): affected all versions; fixed in 5.6.92\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-24057/ (Markdown: https://insights.sbomify.com/CVE-2023-24057/index.md)","id":"CVE-2023-24057","markdown":"https://insights.sbomify.com/CVE-2023-24057/index.md","name":"CVE-2023-24057","record":{"aliases":["GHSA-jqh6-9574-5x22","GHSA-xr8x-pxm6-prjg"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"HL7 FHIR Core Libraries","requires_auth":"none","summary":"Attackers can extract files to arbitrary directories via crafted archives, potentially leading to code execution or data modification in applications using HL7 FHIR Core Libraries.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"hl7_fhir_core","vendor":"hapifhir"},{"product":"fhir_ig_publisher","vendor":"hl7"}],"cvss":{"score":8.1,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"HL7 (Health Level 7) FHIR Core Libraries before 5.6.92 allow attackers to extract files into arbitrary directories via directory traversal from a crafted ZIP or TGZ archive (for a prepackaged terminology cache, NPM package, or comparison archive).","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"MITM based Zip Slip in `ca.uhn.hapi.fhir:org.hl7.fhir.core`","id":"CVE-2023-24057","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":14,"n_references":1,"next":{"headline":"Missing authorization in n/a","id":"CVE-2023-24058"},"packages":[{"ecosystem":"Maven","fixed":["5.6.92"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.convertors","purl":null,"source":"GHSA-jqh6-9574-5x22"},{"ecosystem":"Maven","fixed":["5.6.92"],"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-jqh6-9574-5x22"},{"ecosystem":"Maven","fixed":["5.6.92"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.core","purl":null,"source":"GHSA-jqh6-9574-5x22"},{"ecosystem":"Maven","fixed":["5.6.92"],"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-jqh6-9574-5x22"},{"ecosystem":"Maven","fixed":["5.6.92"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4b","purl":null,"source":"GHSA-jqh6-9574-5x22"},{"ecosystem":"Maven","fixed":["5.6.92"],"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-jqh6-9574-5x22"},{"ecosystem":"Maven","fixed":["5.6.92"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r5","purl":null,"source":"GHSA-jqh6-9574-5x22"},{"ecosystem":"Maven","fixed":["5.6.92"],"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-jqh6-9574-5x22"},{"ecosystem":"Maven","fixed":["5.6.92"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.utilities","purl":null,"source":"GHSA-jqh6-9574-5x22"},{"ecosystem":"Maven","fixed":["5.6.92"],"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-jqh6-9574-5x22"},{"ecosystem":"Maven","fixed":["5.6.92"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.validation","purl":null,"source":"GHSA-jqh6-9574-5x22"},{"ecosystem":"Maven","fixed":["5.6.92"],"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-jqh6-9574-5x22"},{"ecosystem":"Maven","fixed":["1.2.30"],"introduced":["0"],"last_affected":[],"package":"org.hl7.fhir.publisher:org.hl7.fhir.publisher","purl":null,"source":"GHSA-xr8x-pxm6-prjg"},{"ecosystem":"Maven","fixed":["1.2.30"],"introduced":["0"],"last_affected":[],"package":"org.hl7.fhir.publisher:org.hl7.fhir.publisher","purl":"pkg:maven/org.hl7.fhir.publisher/org.hl7.fhir.publisher","source":"GHSA-xr8x-pxm6-prjg"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2023-24056"},"products":["n/a"],"published":"2023-01-24","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":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.5,"headline":"HL7 FHIR Partial Path Zip Slip due to bypass of CVE-2023-24057","id":"CVE-2023-28465","kev_date_added":null,"published":"2023-12-12"},{"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-01","vendors":["n/a"]},"summary":"Attackers can extract files to arbitrary directories via crafted archives, potentially leading to code execution or data modification in applications using HL7 FHIR Core Libraries.","url":"https://insights.sbomify.com/CVE-2023-24057/"}