jackson-databindで未知の型IDを送り続けられるとメモリが枯渇するおそれ
概要
jackson-databindには、未知の型IDを大量に送り込まれると、型デシリアライザのキャッシュが際限なく増え、メモリを圧迫される問題があります。名前ベースの多態性と defaultImpl を使い、ObjectMapper を使い回すアプリケーションが影響を受けます。対象は com.fasterxml.jackson.core:jackson-databind 2.22.0 以上 2.22.3 未満と tools.jackson.core:jackson-databind 3.2.0 以上 3.2.3 未満で、修正版はそれぞれ 2.22.3 と 3.2.3 です。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
com.fasterxml.jackson.core:jackson-databind という製品で、CVE-2026-91776 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに TypeDeserializerBase._deserializers のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
不正な操作・情報露出のリスクがあります。重要度は CVSS スコア 7.5/10 です。
対策: com.fasterxml.jackson.core:jackson-databind を 2.22.3 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「com.fasterxml.jackson.core:jackson-databind CVE-2026-91776」を検索してください。
CVE-2026-91776 (com.fasterxml.jackson.core:jackson-databind) — CWE-400 / CVSS v3 7.5
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
脆弱箇所: TypeDeserializerBase._deserializers / typeId / _deserializers / defaultImpl
修正バージョン: 2.22.3 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
com.fasterxml.jackson.core:jackson-databind に 脆弱性 (CWE-400) があります。攻撃者は TypeDeserializerBase._deserializers を経由して脆弱な処理に到達し、認証なしで悪用できます。
com.fasterxml.jackson.core:jackson-databind の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: TypeDeserializerBase._deserializers / typeId / _deserializers / defaultImpl。
重要度: 重要 (CVSS 7.5/10)。不正な操作・情報露出のリスクがあります。
2.22.3 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで com.fasterxml.jackson.core:jackson-databind を使っているサービスとバージョンを洗い出す。
-
2
パッチ適用patch
Upgrade com.fasterxml.jackson.core:jackson-databind to 2.22.3ステージング環境で 2.22.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| mavencom.fasterxml.jackson.core:jackson-databind |
2.22.0 以上 2.22.3 未満→ 2.22.3 |
2.22.3 |
| maventools.jackson.core:jackson-databind |
3.2.0 以上 3.2.3 未満→ 3.2.3 |
3.2.3 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- Debian DEBIAN-CVE-2026-91776 jackson-databind 修正版あり
- Ubuntu UBUNTU-CVE-2026-91776 jackson-databind この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
TypeDeserializerBase._findDeserializer() in FasterXML jackson-databind caches the resolved deserializer under the raw, attacker-supplied type ID. When name-based polymorphism is configured with a fallback, for example @JsonTypeInfo(use = Id.NAME, defaultImpl = ...), every distinct unrecognized type ID resolves to the same fallback deserializer but is retained as its own key in the _deserializers map. That map has no configurable bound and lives for the lifetime of the type deserializer, so an attacker who can repeatedly supply fresh unknown type IDs causes monotonic memory retention across requests. The reporter observed 10,000 retained entries from 10,000 distinct unknown IDs, against a single entry for a control that repeated one unknown ID the same number of times, isolating attacker-controlled key cardinality from request volume. Exploitation requires an application that enables name-based polymorphism with a defaultImpl or equivalent fallback, accepts attacker-influenced type IDs, and reuses a long-lived ObjectMapper across requests. The fix stops caching fallback resolutions for unrecognized IDs and bounds both the number of cached entries and the length of a cacheable type ID.
出典: NIST National Vulnerability Database NVD GitHub Advisory
参照URL
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- ATLASSIAN CWD-6699
- package github.com
- patch github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web repo1.maven.org