PT-2023-19379 · Unknown · Hl7 Fhir Core Libraries

Published

2023-01-23

·

Updated

2026-03-17

·

CVE-2023-24057

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions HL7 FHIR Core Libraries versions prior to 5.6.92
Description The issue allows attackers to extract files into arbitrary directories via directory traversal from a crafted ZIP or TGZ archive. This can be exploited through a Man-in-the-Middle (MITM) attack, enabling Zip-Slip. The vulnerability is due to insufficient validation of zip file entries, which can be maliciously crafted to write outside the intended destination directory. The Utilities.path(String... path) method does not properly normalize the path, making it possible to bypass guard logic. An attacker can control the return value of ze.getName() and supply a malicious value, or control the contents of the Zip file via a MITM attack.
Recommendations For versions prior to 5.6.92, update to version 5.6.92 or later to resolve the issue. As a temporary workaround, consider disabling the Scanner.java and TerminologyCacheManager.java functions until a patch is available. Restrict access to the vulnerable Utilities.path(String... path) method to minimize the risk of exploitation. Avoid using the ze.getName() function in the affected code until the issue is resolved.

Exploit

Fix

Path traversal

Weakness Enumeration

Related Identifiers

CVE-2023-24057
GHSA-9654-PR4F-GH6M
GHSA-JQH6-9574-5X22
GHSA-XR8X-PXM6-PRJG

Affected Products

Hl7 Fhir Core Libraries