kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-91776 jackson-databind: unbounded growth of the type id cache in TypeDeserializerBase retains every unknown raw type ID

설명

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.

영향 받는 제품 제품 1개

  • FasterXML

    jackson-databind

    영향 받는 버전

    • 2.0.0 이상 2.18.10 이하
    • 2.19.0 이상 2.21.6 이하
    • 2.22.0 이상 2.22.2 이하
    • 3.0.0 이상 3.1.6 이하
    • 3.2.0 이상 3.2.2 이하

    해결 버전

    해결된 버전 정보가 없습니다.

패키지 기준 해결 버전 패키지 2개

  • Maven · com.fasterxml.jackson.core:jackson-databind

    해결 버전 있음

    영향 받는 버전 · 해결 버전

    • 영향 2.0.0 이상 2.18.11 미만 · 해결 2.18.11 이상
    • 영향 2.19.0 이상 2.21.7 미만 · 해결 2.21.7 이상
    • 영향 2.22.0 이상 2.22.3 미만 · 해결 2.22.3 이상
  • Maven · tools.jackson.core:jackson-databind

    해결 버전 있음

    영향 받는 버전 · 해결 버전

    • 영향 3.0.0 이상 3.1.7 미만 · 해결 3.1.7 이상
    • 영향 3.2.0 이상 3.2.3 미만 · 해결 3.2.3 이상

출처: GitHub Advisory Database · CC-BY 4.0

참고 자료 2건

‹ 목록

점검 지원 범위 문의

도입 문의