Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-83557

Опубликовано: 01 сент. 2026
Источник: redhat
CVSS3: 5.6
EPSS Низкий

Описание

DefaultBaseTypeLimitingValidator is the PolymorphicTypeValidator applied automatically whenever @JsonTypeInfo is used without an explicitly configured custom validator. It denies polymorphic resolution only for a fixed set of "unsafe base types", and its isSafeSubType method returns true unconditionally for every base type outside that set. java.lang.Comparable was absent from the list despite being implemented by a very large fraction of JDK and application classes, comparable in breadth to java.io.Serializable, which is on the list for that reason. An application declaring an @JsonTypeInfo-annotated property or class with Comparable as its base type, and no custom PolymorphicTypeValidator, will accept a type identifier for essentially any class implementing Comparable. This yields an attacker-controlled object instantiation primitive; a demonstrated case constructs a java.io.File for an arbitrary attacker-chosen path, which becomes path-traversal-adjacent if the application subsequently calls path-sensitive methods on the value. No class implementing Comparable has been identified that yields code execution through deserialization alone. Global Default Typing via activateDefaultTyping is not affected, because that method structurally requires an explicit PolymorphicTypeValidator argument. This affects com.fasterxml.jackson.core:jackson-databind from 2.11.0 before 2.18.10, from 2.19.0 before 2.21.6, and from 2.22.0 before 2.22.2, and tools.jackson.core:jackson-databind from 3.0.0 before 3.1.6 and from 3.2.0 before 3.2.2. Users should upgrade to 2.18.10, 2.21.6, 2.22.2, 3.1.6, or 3.2.2.

A flaw was found in jackson-databind. This vulnerability allows a remote attacker to control object creation by exploiting an incomplete list of restricted types in the DefaultBaseTypeLimitingValidator. By crafting malicious input, an attacker can cause the application to create arbitrary file objects, potentially leading to path traversal if these objects are then used in sensitive operations.

Отчет

Rated Moderate, not Critical or Important: exploiting this flaw needs an application to type a @JsonTypeInfo property as java.lang.Comparable without configuring its own PolymorphicTypeValidator, an uncommon pattern, which is why the vector shows High attack complexity (AC:H) rather than Low. Even under those conditions, the demonstrated attack only instantiates an attacker-chosen Comparable class such as java.io.File. No known Comparable class enables code execution through deserialization alone, and global default typing (activateDefaultTyping) isn't affected since it always requires an explicit validator. Confidentiality, integrity, and availability impact are each rated Low (C:L/I:L/A:L) because real impact, such as path traversal, requires the application to perform path-sensitive operations on the deserialized value afterward; Jackson itself doesn't do this. Most Red Hat products consume jackson-databind as a transitive dependency rather than exposing attacker-controlled Comparable-typed polymorphic properties directly, making the vulnerable pattern uncommon in practice.

Меры по смягчению последствий

If immediate upgrade is not possible, audit for @JsonTypeInfo properties typed as java.lang.Comparable without a custom PolymorphicTypeValidator. Narrow the type or add a validator that denies java.io.File and similar Comparable implementations. This doesn't apply to global default typing (activateDefaultTyping), which already requires an explicit validator.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Exploit Intelligenceexploit-intelligence/agent-client-rhel9Out of support scope
OpenShift Developer Tools and ServicesjenkinsOut of support scope
OpenShift Developer Tools and Servicesjenkins-2-pluginsOut of support scope
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel8Out of support scope
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel9Out of support scope
OpenShift Serverlessopenshift-serverless-1/kn-ekb-dispatcher-rhel9Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-ekb-receiver-rhel9Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-ddb-streams-source-rhel9Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9Fix deferred

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-1287
https://bugzilla.redhat.com/show_bug.cgi?id=2526847com.fasterxml.jackson.core/jackson-databind: tools.jackson.core/jackson-databind: jackson-databind: Path traversal via incomplete type validation

EPSS

Процентиль: 46%
0.00586
Низкий

5.6 Medium

CVSS3

Связанные уязвимости

CVSS3: 5.6
ubuntu
15 дней назад

(DefaultBaseTypeLimitingValidator is the PolymorphicTypeValidator appli ...)

CVSS3: 5.6
nvd
15 дней назад

DefaultBaseTypeLimitingValidator is the PolymorphicTypeValidator applied automatically whenever @JsonTypeInfo is used without an explicitly configured custom validator. It denies polymorphic resolution only for a fixed set of "unsafe base types", and its isSafeSubType method returns true unconditionally for every base type outside that set. java.lang.Comparable was absent from the list despite being implemented by a very large fraction of JDK and application classes, comparable in breadth to java.io.Serializable, which is on the list for that reason. An application declaring an @JsonTypeInfo-annotated property or class with Comparable as its base type, and no custom PolymorphicTypeValidator, will accept a type identifier for essentially any class implementing Comparable. This yields an attacker-controlled object instantiation primitive; a demonstrated case constructs a java.io.File for an arbitrary attacker-chosen path, which becomes path-traversal-adjacent if the application subsequen

CVSS3: 5.6
debian
15 дней назад

DefaultBaseTypeLimitingValidator is the PolymorphicTypeValidator appli ...

EPSS

Процентиль: 46%
0.00586
Низкий

5.6 Medium

CVSS3