Path Traversal in ca.uhn.hapi.fhir:org.hl7.fhir.core (CVE-2023-24057)
Summary
Path traversal in ca.uhn.hapi.fhir:org.hl7.fhir.core (CVE-2023-24057). Successful exploitation can lead to full system takeover. Exploitable via Publisher.java. Mitigation: upgrade to 5.6.92 or later.
Original description
The description as published by the source.
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.
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.
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.
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.hl…
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2023-24057 has been found in ca.uhn.hapi.fhir:org.hl7.fhir.core.
Attackers can target a specific entry point like Publisher.java over the network to misuse the product.
Successful exploitation can lead to full system takeover.
What to do: upgrade ca.uhn.hapi.fhir:org.hl7.fhir.core to 5.6.92 or later.
If unsure, ask your IT team or search "ca.uhn.hapi.fhir:org.hl7.fhir.core CVE-2023-24057" on the vendor's site.
CVE-2023-24057 (ca.uhn.hapi.fhir:org.hl7.fhir.core) — CWE-22
Attack vector: remote (network-reachable) / no user interaction
Attack surface: Publisher.java / WebSourceProvider.java / ZipFetcher.java / IGPack2NpmConvertor.java
Patched: 5.6.92 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Path traversal (CWE-22) exists in ca.uhn.hapi.fhir:org.hl7.fhir.core. Attackers reach the vulnerable code path via Publisher.java.
Check the vendor advisory for the affected versions of ca.uhn.hapi.fhir:org.hl7.fhir.core. Attack surface: Publisher.java / WebSourceProvider.java / ZipFetcher.java / IGPack2NpmConvertor.java.
Severity: ?. Successful exploitation can lead to full system takeover.
Update to 5.6.92.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで ca.uhn.hapi.fhir:org.hl7.fhir.core を使っているサービスとバージョンを洗い出す。
-
2Apply patch patch
Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.core to 5.6.92ステージング環境で 5.6.92 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
References
- advisory nvd.nist.gov
- package github.com
- package github.com
- web github.com
- web github.com
- web github.com