Critical

MITM based Zip Slip in `org.hl7.fhir.publisher:org.hl7.fhir.publisher`

  • Disclosed: 23.01.2023
  • Updated: 11.10.2026 12:22

Impact

MITM can enable Zip-Slip.

Vulnerability

Vulnerability 1: Publisher.java

There is no validation that the zip file being unpacked has entries that are not maliciously writing outside of the intended destination directory.

https://github.com/HL7/fhir-ig-publisher/blob/87313e92de6dd6cea816449e0edd225e054a7891/org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/Publisher.java#L3598-L3610

Vulnerability 2: WebSourceProvider.java

There is a check for malicious zip entries here, but it is not covered by test cases and could potentially be reverted in future changes.

https://github.com/HL7/fhir-ig-publisher/blob/87313e92de6dd6cea816449e0edd225e054a7891/org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/web/WebSourceProvider.java#L104-L112

Vulnerability 3: ZipFetcher.java

This retains the path for Zip files in FetchedFile entries, which could later be used to output malicious entries to another compressed file or file system.

https://github.com/HL7/fhir-ig-publisher/blob/87313e92de6dd6cea816449e0edd225e054a7891/org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/ZipFetcher.java#L57-L106

Vulnerability 4: IGPack2NpmConvertor.java

The loadZip method retains the path for entries in the zip file, which could later be used to output malicious entries to another compressed file or file system.

https://github.com/HL7/fhir-ig-publisher/blob/87313e92de6dd6cea816449e0edd225e054a7891/org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/IGPack2NpmConvertor.java#L442-L463

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) ca.uhn.hapi.fhir:org.hl7.fhir.convertors < 5.6.92 5.6.92
Java / Kotlin (Maven) ca.uhn.hapi.fhir:org.hl7.fhir.core < 5.6.92 5.6.92
Java / Kotlin (Maven) ca.uhn.hapi.fhir:org.hl7.fhir.r4b < 5.6.92 5.6.92
Java / Kotlin (Maven) ca.uhn.hapi.fhir:org.hl7.fhir.r5 < 5.6.92 5.6.92
Java / Kotlin (Maven) ca.uhn.hapi.fhir:org.hl7.fhir.utilities < 5.6.92 5.6.92
Java / Kotlin (Maven) ca.uhn.hapi.fhir:org.hl7.fhir.validation < 5.6.92 5.6.92
Java / Kotlin (Maven) org.hl7.fhir.publisher:org.hl7.fhir.publisher < 1.2.30 1.2.30

References

CVSS score 9.1/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness (CWE)
CWE-22
Platform
Java / Kotlin (Maven)
Package
ca.uhn.hapi.fhir:org.hl7.fhir.convertors, ca.uhn.hapi.fhir:org.hl7.fhir.core, ca.uhn.hapi.fhir:org.hl7.fhir.r4b
Disclosed
23.01.2023
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-jqh6-9574-5x22 - CC BY 4.0

OSV / GitHub Advisory Database - GHSA-xr8x-pxm6-prjg - CC BY 4.0

Vulnerability history: ca.uhn.hapi.fhir:org.hl7.fhir.core

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
01.2023 03.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 2
  • Medium 1

Disclosures per year

  1. 2023: 2
  2. 2024: 0
  3. 2025: 0
  4. 2026: 2
  1. High · 7.5 CVE-2023-28465 < 5.6.106 5.6.106
  2. MITM based Zip Slip in `org.hl7.fhir.publisher:org.hl7.fhir.publisher` this entry
    Critical · 9.1 CVE-2023-24057 < 5.6.92 5.6.92

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.