jackson-databindで型検証を回避され任意のクラスを生成される脆弱性
概要
jackson-databindには、ジェネリック型の引数や配列の要素型を検証しないことで、想定外のクラスをインスタンス化される脆弱性があります。影響を受けるのは3.0.0以上3.1.8未満と3.2.0以上3.2.4未満で、3.1.8または3.2.4に更新してください。CVSSは8.1で、既定の設定でも条件を満たすと悪用される可能性があるため、早めの対応をおすすめします。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
jackson-databindには、ジェネリック型の引数や配列の要素型を検証しないことで、想定外のクラスをインスタンス化される脆弱性があります。影響を受けるのは3.0.0以上3.1.8未満と3.2.0以上3.2.4未満で、3.1.8または3.2.4に更新してください。CVSSは8.1で、既定の設定でも条件を満たすと悪用される可能性があるため、早めの対応をおすすめします。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| FasterXMLjackson-databind |
3.0.0 以上 3.1.8 未満→ 3.1.8 3.2.0 以上 3.2.4 未満→ 3.2.4 |
3.1.8 3.2.4 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- Debian DEBIAN-CVE-2026-110879 jackson-databind 修正版あり
- Ubuntu UBUNTU-CVE-2026-110879 jackson-databind この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
jackson-databind validates the outer class of a class-name type ID but accepts attacker-selected classes inside its generic arguments, even when those classes violate the declared type or would be rejected as direct type IDs. This bypasses the generic-argument validation added for CVE-2026-54512 (GHSA-j3rv-43j4-c7qm), of which this is an incomplete fix.
DatabindContext._resolveAndValidateGeneric() checks the outer class against the declared base type and then passes each argument from the type ID to _validateTypeParameter(), which validates the argument against the outer base type rather than enforcing its corresponding declared generic binding. It also invokes validators with arguments that have not passed the subtype check those validators expect. Under the default DefaultBaseTypeLimitingValidator this accepts an unrelated class inside a generic subtype even when the same class is rejected as a direct type ID. Where an allowIfBaseType(...) rule approves the outer type, Jackson substitutes LaissezFaireSubTypeValidator, so the configured validator no longer restricts the embedded arguments. The element type of a plain array type ID such as [Lpkg.Gadget; is likewise left unvalidated once the array's base type is approved.
Affected paths include annotation-based class-name polymorphism with a default Jackson 3.x JsonMapper, configured default typing in both Jackson 2.x and 3.x, and integrations that expose that default typing. The default-validator case requires no applicatio…
出典: Red Hat Security Advisories NVD
参照URL
- advisory github.com
- advisory nvd.nist.gov
- ATLASSIAN CRUC-8788
- package github.com
- REDHAT Red Hat
- web github.com
- web github.com
- web cve.org
- web repo.maven.apache.org