CVE Vulnerabilities

CVE-2019-20330

Deserialization of Untrusted Data

Published: Jan 03, 2020 | Modified: Nov 07, 2023
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
8.1 IMPORTANT
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM

FasterXML jackson-databind 2.x before 2.9.10.2 lacks certain net.sf.ehcache blocking.

Weakness

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

Affected Software

Name Vendor Start Version End Version
Jackson-databind Fasterxml 2.0.0 (including) 2.7.9.7 (excluding)
Jackson-databind Fasterxml 2.8.0 (including) 2.8.11.5 (excluding)
Jackson-databind Fasterxml 2.9.0 (including) 2.9.10.2 (excluding)
EAP-CD 19 Tech Preview RedHat jackson-databind *
Red Hat AMQ Streams 1 RedHat jackson-databind *
Red Hat Decision Manager 7 RedHat jackson-databind *
Red Hat Enterprise Linux 8 RedHat pki-core:10.6-8020020200326162741.c7c3114f *
Red Hat Enterprise Linux 8 RedHat pki-deps:10.6-8020020191204213056.6a468ee4 *
Red Hat Fuse 7.7.0 RedHat jackson-databind *
Red Hat Process Automation 7 RedHat jackson-databind *
Red Hat Satellite 6.6 for RHEL 7 RedHat candlepin-0:2.6.16-1.el7sat *
Red Hat Satellite 6.6 for RHEL 7 RedHat foreman-0:1.22.0.39-2.el7sat *
Red Hat Satellite 6.6 for RHEL 7 RedHat satellite-0:6.6.3-1.el7sat *
Red Hat Satellite 6.6 for RHEL 7 RedHat tfm-rubygem-fog-ovirt-0:1.2.3-1.el7sat *
Red Hat Satellite 6.6 for RHEL 7 RedHat tfm-rubygem-foreman_rh_cloud-0:0.9.4.1-2.el7sat *
Red Hat Satellite 6.6 for RHEL 7 RedHat tfm-rubygem-katello-0:3.12.0.41-1.el7sat *
Red Hat Satellite 6.6 for RHEL 7 RedHat tfm-rubygem-runcible-0:2.13.0-1.el7sat *
Red Hat Satellite 6.6 for RHEL 7 RedHat candlepin-0:2.6.16-1.el7sat *
Red Hat Satellite 6.6 for RHEL 7 RedHat foreman-0:1.22.0.39-2.el7sat *
Red Hat Satellite 6.6 for RHEL 7 RedHat satellite-0:6.6.3-1.el7sat *
Red Hat Satellite 6.6 for RHEL 7 RedHat tfm-rubygem-fog-ovirt-0:1.2.3-1.el7sat *
Red Hat Satellite 6.6 for RHEL 7 RedHat tfm-rubygem-foreman_rh_cloud-0:0.9.4.1-2.el7sat *
Red Hat Satellite 6.6 for RHEL 7 RedHat tfm-rubygem-katello-0:3.12.0.41-1.el7sat *
Red Hat Satellite 6.6 for RHEL 7 RedHat tfm-rubygem-runcible-0:2.13.0-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat candlepin-0:2.9.28-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat foreman-0:1.24.1.24-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat foreman-installer-1:1.24.1.21-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat pulp-rpm-0:2.21.0.6-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat satellite-0:6.7.2-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat tfm-rubygem-fog-vsphere-0:3.2.1.1-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat tfm-rubygem-foreman_remote_execution-0:2.0.10.1-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat tfm-rubygem-foreman_rh_cloud-0:1.0.9-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat tfm-rubygem-foreman-tasks-0:0.17.5.6-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat tfm-rubygem-hammer_cli_foreman-0:0.19.6.5-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat tfm-rubygem-katello-0:3.14.0.25-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat candlepin-0:2.9.28-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat foreman-0:1.24.1.24-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat foreman-installer-1:1.24.1.21-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat pulp-rpm-0:2.21.0.6-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat satellite-0:6.7.2-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat tfm-rubygem-fog-vsphere-0:3.2.1.1-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat tfm-rubygem-foreman_remote_execution-0:2.0.10.1-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat tfm-rubygem-foreman_rh_cloud-0:1.0.9-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat tfm-rubygem-foreman-tasks-0:0.17.5.6-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat tfm-rubygem-hammer_cli_foreman-0:0.19.6.5-1.el7sat *
Red Hat Satellite 6.7 for RHEL 7 RedHat tfm-rubygem-katello-0:3.14.0.25-1.el7sat *
Red Hat Single Sign-On 7.3 RedHat jackson-databind *
Text-Only RHOAR RedHat *
Jackson-databind Ubuntu bionic *
Jackson-databind Ubuntu disco *
Jackson-databind Ubuntu eoan *
Jackson-databind Ubuntu esm-apps/xenial *
Jackson-databind Ubuntu trusty *
Jackson-databind Ubuntu upstream *
Jackson-databind Ubuntu xenial *

Extended Description

It is often convenient to serialize objects for communication or to save them for later use. However, deserialized data or code can often be modified without using the provided accessor functions if it does not use cryptography to protect itself. Furthermore, any cryptography would still be client-side security – which is a dangerous security assumption. Data that is untrusted can not be trusted to be well-formed. When developers place no restrictions on “gadget chains,” or series of instances and method invocations that can self-execute during the deserialization process (i.e., before the object is returned to the caller), it is sometimes possible for attackers to leverage them to perform unauthorized actions, like generating a shell.

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