# CVE-2023-24057: MITM based Zip Slip in \`ca.uhn.hapi.fhir:org.hl7.fhir.core\`

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

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.12% (percentile 66, 2026-11-26)
- **CWE:** CWE-22
- **Aliases:** GHSA-jqh6-9574-5x22, GHSA-xr8x-pxm6-prjg
- **Published:** 2023-01-23T22:04:47.000Z
- **Modified:** 2026-07-08T06:53:02.952Z

## Who should check

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

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

## Affected and fixed versions

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

## Mitigation

- Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.core to 5.6.92 or later.
- Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.convertors to 5.6.92 or later.
- Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.r4b to 5.6.92 or later.
- Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.r5 to 5.6.92 or later.
- Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.utilities to 5.6.92 or later.
- Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.validation to 5.6.92 or later.
- Upgrade org.hl7.fhir.publisher:org.hl7.fhir.publisher to 1.2.30 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-24057. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-24057.md
Affected: ca.uhn.hapi.fhir:org.hl7.fhir.core < 5.6.92; ca.uhn.hapi.fhir:org.hl7.fhir.convertors < 5.6.92; ca.uhn.hapi.fhir:org.hl7.fhir.r4b < 5.6.92; ca.uhn.hapi.fhir:org.hl7.fhir.r5 < 5.6.92; ca.uhn.hapi.fhir:org.hl7.fhir.utilities < 5.6.92; ca.uhn.hapi.fhir:org.hl7.fhir.validation < 5.6.92; org.hl7.fhir.pu…
Fixed in: 5.6.92, 1.2.30

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-24057 being exploited?

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

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

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

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

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

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

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

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

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/HL7/fhir-ig-publisher/security/advisories/GHSA-xr8x-pxm6-prjg>
- vendor: <https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-jqh6-9574-5x22>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-24057>
- patch: <https://github.com/hapifhir/org.hl7.fhir.core/commit/b50aec59124416b7315a49220cfc3999223414cc>
- other: <https://github.com/hapifhir/org.hl7.fhir.core>
- other: <https://github.com/HL7/fhir-ig-publisher>

## 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-24057>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jqh6-9574-5x22> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-xr8x-pxm6-prjg> (license: <https://creativecommons.org/licenses/by/4.0/>)

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