Deserialization of Untrusted Data Affecting jackson-databind package, versions <0:2.10.0-1.module+el8.2.0+5059+3eb3af25


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
5.68% (92nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS8-JACKSONDATABIND-2033924
  • published26 Jul 2021
  • disclosed27 Sept 2019

Introduced: 27 Sep 2019

CVE-2019-16942  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade Centos:8 jackson-databind to version 0:2.10.0-1.module+el8.2.0+5059+3eb3af25 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jackson-databind package and not the jackson-databind package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

A Polymorphic Typing issue was discovered in FasterXML jackson-databind 2.0.0 through 2.9.10. When Default Typing is enabled (either globally or for a specific property) for an externally exposed JSON endpoint and the service has the commons-dbcp (1.4) jar in the classpath, and an attacker can find an RMI service endpoint to access, it is possible to make the service execute a malicious payload. This issue exists because of org.apache.commons.dbcp.datasources.SharedPoolDataSource and org.apache.commons.dbcp.datasources.PerUserPoolDataSource mishandling.

References

CVSS Base Scores

version 3.1