CVE Vulnerabilities

CVE-2022-42004

Deserialization of Untrusted Data

Published: Oct 02, 2022 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

In FasterXML jackson-databind before 2.13.4, resource exhaustion can occur because of a lack of a check in BeanDeserializer._deserializeFromArray to prevent use of deeply nested arrays. An application is vulnerable only with certain customized choices for deserialization.

Weakness

The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

Affected Software

NameVendorStart VersionEnd Version
Jackson-databindFasterxml*2.12.7.1 (excluding)
Jackson-databindFasterxml2.13.0 (including)2.13.4 (excluding)
Logging subsystem for Red Hat OpenShift 5.4RedHatopenshift-logging/elasticsearch6-rhel8:v6.8.1-265*
Logging subsystem for Red Hat OpenShift 5.4RedHatopenshift-logging/elasticsearch-operator-bundle:v5.4.8-11*
Logging subsystem for Red Hat OpenShift 5.4RedHatopenshift-logging/elasticsearch-proxy-rhel8:v1.0.0-300*
Logging subsystem for Red Hat OpenShift 5.4RedHatopenshift-logging/elasticsearch-rhel8-operator:v5.4.8-3*
Migration Toolkit for Runtimes 1 on RHEL 8RedHatjackson-databind*
OCP-Tools-4.12-RHEL-8RedHatjenkins-2-plugins-0:4.12.1675702407-1.el8*
OpenShift Developer Tools and Services for OCP 4.11RedHatjenkins-2-plugins-0:4.11.1686831822-1.el8*
OpenShift Logging 5.3RedHatopenshift-logging/elasticsearch6-rhel8:v6.8.1-277*
OpenShift Logging 5.3RedHatopenshift-logging/elasticsearch-operator-bundle:v5.3.14-16*
OpenShift Logging 5.3RedHatopenshift-logging/elasticsearch-proxy-rhel8:v1.0.0-315*
OpenShift Logging 5.3RedHatopenshift-logging/elasticsearch-rhel8-operator:v5.3.14-5*
Red Hat AMQ Broker 7RedHatjackson-databind*
Red Hat AMQ Streams 2.3.0RedHatjackson-databind*
Red Hat AMQ Streams 2.4.0RedHat*
Red Hat build of Eclipse Vert.x 4.3.4RedHatjackson-databind*
Red Hat build of Quarkus 2.13.5RedHatjackson-databind*
Red Hat build of Quarkus 2.7.7RedHat*
Red Hat Data Grid 8.4.1RedHatjackson-databind*
Red Hat JBoss Enterprise Application Platform 7RedHatjackson-databind*
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7RedHateap7-jackson-databind-0:2.8.11.6-2.SP1_redhat_00002.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7RedHateap7-resteasy-0:3.0.27-1.Final_redhat_00001.1.ep7.el7*
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7RedHateap7-jackson-databind-0:2.10.4-4.redhat_00004.1.el7eap*
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7RedHateap7-jackson-modules-java8-0:2.10.4-2.redhat_00004.1.el7eap*
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7RedHateap7-resteasy-0:3.11.6-1.Final_redhat_00001.1.el7eap*
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8RedHateap7-jackson-databind-0:2.12.7-1.redhat_00003.1.el8eap*
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9RedHateap7-jackson-databind-0:2.12.7-1.redhat_00003.1.el9eap*
Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7RedHateap7-jackson-databind-0:2.12.7-1.redhat_00003.1.el7eap*
Red Hat Satellite 6.13 for RHEL 8RedHatcandlepin-0:4.2.13-1.el8sat*
Red Hat Single Sign-On 7RedHatjackson-databind*
Red Hat Single Sign-On 7.6 for RHEL 7RedHatrh-sso7-keycloak-0:18.0.6-1.redhat_00001.1.el7sso*
Red Hat Single Sign-On 7.6 for RHEL 8RedHatrh-sso7-keycloak-0:18.0.6-1.redhat_00001.1.el8sso*
Red Hat Single Sign-On 7.6 for RHEL 9RedHatrh-sso7-keycloak-0:18.0.6-1.redhat_00001.1.el9sso*
RHEL-8 based Middleware ContainersRedHatrh-sso-7/sso76-openshift-rhel8:7.6-20*
RHINT Camel-Q 2.13.2RedHatjackson-databind*
RHINT Camel-Springboot 3.18.3.P2RedHatjackson-databind*
RHINT Camel-Springboot 3.20.1RedHatjackson-databind*
RHOL-5.5-RHEL-8RedHatopenshift-logging/elasticsearch6-rhel8:v6.8.1-273*
RHOL-5.5-RHEL-8RedHatopenshift-logging/elasticsearch-operator-bundle:v5.5.5-14*
RHOL-5.5-RHEL-8RedHatopenshift-logging/elasticsearch-proxy-rhel8:v1.0.0-311*
RHOL-5.5-RHEL-8RedHatopenshift-logging/elasticsearch-rhel8-operator:v5.5.5-2*
RHOL-5.6-RHEL-8RedHatopenshift-logging/elasticsearch6-rhel8:v6.8.1-285*
RHPAM 7.13.1 asyncRedHatjackson-databind*
Jackson-databindUbuntuesm-apps/jammy*
Jackson-databindUbuntujammy*
Jackson-databindUbuntukinetic*
Jackson-databindUbuntulunar*
Jackson-databindUbuntumantic*
Jackson-databindUbuntuoracular*
Jackson-databindUbuntuplucky*
Jackson-databindUbuntutrusty*
Jackson-databindUbuntuxenial*

Potential Mitigations

  • Make fields transient to protect them from deserialization.
  • An attempt to serialize and then deserialize a class containing transient fields will result in NULLs where the transient data should be. This is an excellent way to prevent time, environment-based, or sensitive variables from being carried over and used improperly.

References