Skip to main content

Allocation of Resources Without Limits or Throttling in com.fasterxml.jackson.core:jackson-core

Cx2c9af752-2171

  • com.fasterxml.jackson.core:jackson-core
  • tools.jackson.core:jackson-core
Severity High
Score 8.7/10

Summary

The fix released in jackson-core `2.18.6` and `2.21.1` for [GHSA-72hv-8253-57qq] (Number Length Constraint Bypass in Async Parser, published 2026-02-28) is incomplete. The fix commit `b0c428e6` (#1555) wired `validateIntegerLength` into a new `_setIntLength` helper and called it at every place where the integer portion of a number is *decided* (terminator byte arrived, `.` / `e/E` seen, end-of-feed inside a fully-buffered value). It did not call it on the much more attacker-relevant path: "ran out of input while still inside `MINOR_NUMBER_INTEGER_DIGITS`, return `NOT_AVAILABLE` to caller". All versions prior to 2.18.8, 2.19.x prior to 2.21.4 and 2.22.x prior to 2.22.1 are affected. The package "tools.jackson.core:jackson-core" is also affected in versions prior to 3.1.4 and 3.2.x prior to 3.2.1.

  • LOW
  • NETWORK
  • NONE
  • NONE

CWE-770 - Allocation of Resources Without Limits or Throttling

The software allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.

Advisory Timeline

  • Published