jackson-dataformat-cborに大量のタグで処理が遅くなる脆弱性
概要
CBORデータに大量のタグを連ねられると、解析処理のCPUとメモリ消費が急増し、サービス不能になるおそれがあります。影響するのはjackson-dataformat-cborの3.0.0以降3.1.8未満と3.2.0以降3.2.4未満で、修正版は3.1.8と3.2.4です。修正版へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
CBORデータに大量のタグを連ねられると、解析処理のCPUとメモリ消費が急増し、サービス不能になるおそれがあります。影響するのはjackson-dataformat-cborの3.0.0以降3.1.8未満と3.2.0以降3.2.4未満で、修正版は3.1.8と3.2.4です。修正版へ更新してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| FasterXMLjackson-dataformat-cbor |
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-106554 jackson-dataformats-binary 修正版あり
- Ubuntu UBUNTU-CVE-2026-106554 jackson-dataformat-cbor この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
One CBOR-parsing issue in jackson-dataformats-binary's CBOR module: an unbounded run of CBOR tags drives quadratic-time TagList growth (CPU/GC-exhaustion DoS, PoC-proven).
PoC executed against com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.18.2; present in current 2.x and 3.x (tools.jackson.dataformat.cbor) HEAD. Distinct from the Avro and Smile/Protobuf advisories for this repo.
Quadratic CPU/GC DoS from an unbounded chain of CBOR tags (PoC-proven). File: cbor/src/main/java/.../cbor/CBORParser.java (tag handling -> TagList).
CBOR permits a data item to be preceded by any number of semantic tags. The CBOR parser accumulates them in a TagList whose backing array grows by a fixed increment (+8), not by doubling, and re-scans/copies on each growth. An attacker sends a value preceded by a long run of tag bytes; the fixed-increment growth makes accumulating N tags O(N^2) in time (plus GC pressure), with no cap on the number of stacked tags.
PoC (executed, JDK 17): feeding a CBOR stream consisting of a long run of tag bytes (e.g. tag 0xC0+) before a trivial value forces quadratic CPU/GC; parse time grows super-linearly with the tag count, pinning a request thread with no configurable limit.
Impact. Algorithmic-complexity denial of service (CWE-407): a modest input of stacked tags consumes quadratic CPU/GC, pinning a request thread; concurrent requests exhaust the pool.
Fix. Grow TagList by doubling and/or cap the number of stacked tags (StreamReadConstraints-style…
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- REDHAT Red Hat
- web repo.maven.apache.org