本文へ移動
English version →
高 8.2

cjose で細工された JWE により遠隔からヒープ領域を破壊される

CVE-2026-53938 SecPulse初出

概要

OpenIDC の cjose は、AES Key Wrap による JWE 復号処理でヒープバッファオーバーフローの脆弱性があり、認証なしの攻撃者が細工した JWE を送ると、サービス停止やメモリ破壊の原因になります。影響を受けるのはバージョン 0.6.2.5 より前の cjose です。0.6.2.5 以降へ更新してください。すぐに更新できない場合は、信頼できない JWE での A128KW・A192KW・A256KW の利用をアプリケーション側で拒否してください。

AI要約

SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

OpenIDC/cjose という製品で、CVE-2026-53938 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに alg のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
不正な操作・情報露出のリスクがあります。重要度は CVSS スコア 8.2/10 です。
対策: ベンダー公式の修正版に更新してください。
心配なら、システム担当者や製品の公式サイトで「OpenIDC/cjose CVE-2026-53938」を検索してください。

CVE-2026-53938 (OpenIDC/cjose) — CWE-122 / CVSS v3 8.2
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
脆弱箇所: alg / A128KW / A192KW / A256KW
暫定回避: reject the AES Key Wrap algorithms (A128KW/A192KW/A256KW) for untrusted JWEs at the application layer.
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

何が問題か

OpenIDC/cjose に 脆弱性 (CWE-122) があります。攻撃者は alg を経由して脆弱な処理に到達し、認証なしで悪用できます。

影響範囲

OpenIDC/cjose の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: alg / A128KW / A192KW / A256KW。

重要度

重要度: 重要 (CVSS 8.2/10)。不正な操作・情報露出のリスクがあります。

修正方法

ベンダー公式アドバイザリの修正版に更新してください。

暫定回避

暫定回避: reject the AES Key Wrap algorithms (A128KW/A192KW/A256KW) for untrusted JWEs at the application layer.

検知方法

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

対応アクション

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

  1. 1
    影響範囲の特定identify
    grep -r 'OpenIDC/cjose' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で OpenIDC/cjose を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    暫定回避策の適用mitigate
    reject the AES Key Wrap algorithms (`A128KW`/`A192KW`/`A256KW`) for untrusted JWEs at the application layer.

    パッチが適用されるまでの応急処置として、reject the AES Key Wrap algorithms (A128KW/A192KW/A256KW) for untrusted JWEs at the application layer. を実施。回避策の副作用 (機能低下) を確認した上で。

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

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

ディストリビューション別の修正状況

各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。

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

OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). Prior to version 0.6.2.5, cjose's JWE decryption path for the AES Key Wrap key-management algorithms (alg = A128KW, A192KW, A256KW) does not validate the length of the attacker-supplied encrypted_key (JWE Encrypted Key) before unwrapping it into a fixed-size, heap-allocated Content Encryption Key (CEK) buffer. A remote, unauthenticated attacker who can submit a crafted JWE to an application that decrypts it with an AES-KW symmetric key can trigger an out-of-bounds heap write, corrupting the heap. This leads at minimum to a crash (denial of service) and, depending on the heap layout and allocator, may be leverageable for further memory-corruption impact. cjose_jwe_import() / cjose_jwe_decrypt() are pre-authentication entry points: they parse and process fully attacker-controlled input. Upgrade to cjose 0.6.2.5 to receive a patch. If upgrading is not immediately possible, reject the AES Key Wrap algorithms (A128KW/A192KW/A256KW) for untrusted JWEs at the application layer.

出典: NIST National Vulnerability Database NVD GitHub Advisory

参照URL

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