English version →
カテゴリ
CVE-2023-24057

ca.uhn.hapi.fhir:org.hl7.fhir.core に パストラバーサル (CVE-2023-24057)

概要

ca.uhn.hapi.fhir:org.hl7.fhir.core に パストラバーサル (CVE-2023-24057) が存在。悪用されるとシステム全体を乗っ取られる可能性があります。Publisher.java 経由で攻撃可能。対策: 5.6.92 以上に更新。

原文の説明

取得元が公開している説明をそのまま載せています (多くは英語)。

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.hl…

出典: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

自動生成の要約

取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。

ca.uhn.hapi.fhir:org.hl7.fhir.core という製品で、CVE-2023-24057 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに Publisher.java のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
悪用されるとシステム全体を乗っ取られる可能性があります。
対策: ca.uhn.hapi.fhir:org.hl7.fhir.core を 5.6.92 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「ca.uhn.hapi.fhir:org.hl7.fhir.core CVE-2023-24057」を検索してください。

CVE-2023-24057 (ca.uhn.hapi.fhir:org.hl7.fhir.core) — CWE-22
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 被害者操作不要
脆弱箇所: Publisher.java / WebSourceProvider.java / ZipFetcher.java / IGPack2NpmConvertor.java
修正バージョン: 5.6.92 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

❓ 何が問題か

ca.uhn.hapi.fhir:org.hl7.fhir.core に パストラバーサル (CWE-22) があります。攻撃者は Publisher.java を経由して脆弱な処理に到達できます。

📍 影響範囲

ca.uhn.hapi.fhir:org.hl7.fhir.core の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: Publisher.java / WebSourceProvider.java / ZipFetcher.java / IGPack2NpmConvertor.java。

🔥 重要度

重要度: ?。悪用されるとシステム全体を乗っ取られる可能性があります。

🔧 修正方法

5.6.92 に更新してください。

🛡️ 暫定回避

修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。

🔍 検知方法

Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。

対応アクション

SOC/SREチームが順番に実行すべき具体的なステップとコマンド例

  1. 1
    影響範囲の特定 identify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで ca.uhn.hapi.fhir:org.hl7.fhir.core を使っているサービスとバージョンを洗い出す。

  2. 2
    パッチ適用 patch
    Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.core to 5.6.92

    ステージング環境で 5.6.92 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    事後検証 verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

影響パッケージ

Maven ca.uhn.hapi.fhir:org.hl7.fhir.core
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.92"}]}]
Maven ca.uhn.hapi.fhir:org.hl7.fhir.convertors
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.92"}]}]
Maven ca.uhn.hapi.fhir:org.hl7.fhir.r4b
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.92"}]}]
Maven ca.uhn.hapi.fhir:org.hl7.fhir.r5
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.92"}]}]
Maven ca.uhn.hapi.fhir:org.hl7.fhir.utilities
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.92"}]}]
Maven ca.uhn.hapi.fhir:org.hl7.fhir.validation
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.92"}]}]
Maven org.hl7.fhir.publisher:org.hl7.fhir.publisher
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.30"}]}]

参照URL

当サイトでは、アクセス解析と広告の効果測定のために Cookie を使います。株式会社Game のサイト共通の設定です。 詳しく