# CVE-2023-28465: HL7 FHIR Partial Path Zip Slip due to bypass of CVE-2023-24057

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.22% (percentile 69, 2026-11-26)
- **CWE:** CWE-22
- **Aliases:** GHSA-9654-pr4f-gh6m
- **Published:** 2023-03-10T22:15:55.000Z
- **Modified:** 2026-07-08T06:29:15.854Z

## Who should check

- Projects that depend on Maven package ca.uhn.hapi.fhir:org.hl7.fhir.core (\< 5.6.106)
- Projects that depend on Maven package ca.uhn.hapi.fhir:org.hl7.fhir.convertors (\< 5.6.106)
- Projects that depend on Maven package ca.uhn.hapi.fhir:org.hl7.fhir.r4b (\< 5.6.106)
- Projects that depend on Maven package ca.uhn.hapi.fhir:org.hl7.fhir.r5 (\< 5.6.106)
- Projects that depend on Maven package ca.uhn.hapi.fhir:org.hl7.fhir.utilities (\< 5.6.106)
- Projects that depend on Maven package ca.uhn.hapi.fhir:org.hl7.fhir.validation (\< 5.6.106)
- Anyone running n/a (versions: see the vendor advisory)

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

## Affected and fixed versions

- Maven `ca.uhn.hapi.fhir:org.hl7.fhir.core`: affected \< 5.6.106; fixed 5.6.106 (osv)
- Maven `ca.uhn.hapi.fhir:org.hl7.fhir.convertors`: affected \< 5.6.106; fixed 5.6.106 (osv)
- Maven `ca.uhn.hapi.fhir:org.hl7.fhir.r4b`: affected \< 5.6.106; fixed 5.6.106 (osv)
- Maven `ca.uhn.hapi.fhir:org.hl7.fhir.r5`: affected \< 5.6.106; fixed 5.6.106 (osv)
- Maven `ca.uhn.hapi.fhir:org.hl7.fhir.utilities`: affected \< 5.6.106; fixed 5.6.106 (osv)
- Maven `ca.uhn.hapi.fhir:org.hl7.fhir.validation`: affected \< 5.6.106; fixed 5.6.106 (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.core to 5.6.106 or later.
- Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.convertors to 5.6.106 or later.
- Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.r4b to 5.6.106 or later.
- Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.r5 to 5.6.106 or later.
- Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.utilities to 5.6.106 or later.
- Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.validation to 5.6.106 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-28465. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-28465.md
Affected: ca.uhn.hapi.fhir:org.hl7.fhir.core < 5.6.106; ca.uhn.hapi.fhir:org.hl7.fhir.convertors < 5.6.106; ca.uhn.hapi.fhir:org.hl7.fhir.r4b < 5.6.106; ca.uhn.hapi.fhir:org.hl7.fhir.r5 < 5.6.106; ca.uhn.hapi.fhir:org.hl7.fhir.utilities < 5.6.106; ca.uhn.hapi.fhir:org.hl7.fhir.validation < 5.6.106
Fixed in: 5.6.106

Steps:
1. Search this machine and project for ca.uhn.hapi.fhir:org.hl7.fhir.core (Maven), ca.uhn.hapi.fhir:org.hl7.fhir.convertors (Maven), ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven), ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven), ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven), ca.uhn.hapi.fhir:org.hl7.fhir.validation (Maven): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-28465 being exploited?

There is no confirmed exploitation: CVE-2023-28465 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-28465?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2023-28465?

ca.uhn.hapi.fhir:org.hl7.fhir.core \< 5.6.106; ca.uhn.hapi.fhir:org.hl7.fhir.convertors \< 5.6.106; ca.uhn.hapi.fhir:org.hl7.fhir.r4b \< 5.6.106; ca.uhn.hapi.fhir:org.hl7.fhir.r5 \< 5.6.106; ca.uhn.hapi.fhir:org.hl7.fhir.utilities \< 5.6.106; ca.uhn.hapi.fhir:org.hl7.fhir.validation \< 5.6.106.

### Is there a fix for CVE-2023-28465?

Yes. Fixed in 5.6.106. Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.core to 5.6.106 or later. Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.convertors to 5.6.106 or later. Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.r4b to 5.6.106 or later. Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.r5 to 5.6.106 or later. Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.utilities to 5.6.106 or later. Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.validation to 5.6.106 or later.

### How do I check if I'm affected by CVE-2023-28465?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/advisories/GHSA-9654-pr4f-gh6m>
- vendor: <https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-9654-pr4f-gh6m>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-28465>
- patch: <https://github.com/hapifhir/org.hl7.fhir.core/pull/1162>
- other: <https://www.smilecdr.com/our-blog/statement-on-cve-2023-24057-smile-digital-health>
- other: <https://www.smilecdr.com/our-blog>
- other: <https://github.com/hapifhir/org.hl7.fhir.core>
- other: <https://github.com/hapifhir/org.hl7.fhir.core/blob/b0daf666725fa14476d147522155af1e81922aac/org.hl7.fhir.r4b/src/main/java/org/hl7/fhir/r4b/terminologies/TerminologyCacheManager.java#L99-L105>
- other: <https://github.com/hapifhir/org.hl7.fhir.core/releases/tag/5.6.106>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-28465>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-9654-pr4f-gh6m> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-28465> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-28465>
