CVE-2018-12023: FasterXML jackson-databind Deserialization of Untrusted Data

Summary

15/06/2020
Yes i
High
7.5

CVE-2018-12023: Deserialization of Untrusted Data. Affects com.fasterxml.jackson.core:jackson-databind across 3 version ranges.

>= 2.7.0, < 2.7.9.4 >= 2.8.0, < 2.8.11.2 >= 2.9.0, < 2.9.6

Fixed in 2.7.9.4, 2.8.11.2 or 2.9.6, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2018-12023 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

FasterXML jackson-databind is a popular Java library used for serializing and deserializing JSON data. It provides a powerful and flexible API for working with JSON objects. However, prior to versions 2.7.9.4, 2.8.11.2, and 2.9.6, there is a vulnerability in the library that allows for the deserialization of untrusted data. This vulnerability can be exploited when Default Typing is enabled and the Oracle JDBC jar is present in the classpath. An attacker can provide an LDAP service to access, which can then execute a malicious payload.

Vulnerability Detail

The vulnerability in FasterXML jackson-databind allows an attacker to execute arbitrary code by providing malicious input during the deserialization process. This can lead to remote code execution, enabling the attacker to take control of the affected system. The issue arises when Default Typing is enabled and the Oracle JDBC jar is present, as it allows the deserialization of untrusted data. The impact of this vulnerability is high, as it can lead to unauthorized access, data breaches, and potential system compromise.

How To Fix

Latest published version: 2.22.4 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 2.7.0, < 2.7.9.4 2.7.9.4
  • >= 2.8.0, < 2.8.11.2 2.8.11.2
  • >= 2.9.0, < 2.9.6 2.9.6

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If upgrading to a non-vulnerable version is not immediately feasible, a possible workaround is to disable Default Typing or remove the Oracle JDBC jar from the classpath. Disabling Default Typing can be done by configuring the ObjectMapper with the disableDefaultTyping() method. Removing the Oracle JDBC jar from the classpath involves identifying and removing the jar file from the application's dependencies.

Conclusion

The vulnerability in FasterXML jackson-databind allows for the deserialization of untrusted data, potentially leading to remote code execution. It is crucial to upgrade to the latest non-vulnerable version of the library to mitigate the risk. If immediate upgrade is not possible, disabling Default Typing or removing the Oracle JDBC jar from the classpath can serve as temporary workarounds. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for com.fasterxml.jackson.core:jackson-databind →

Share this vulnerability

FAQ

FasterXML jackson-databind is a Java library used for serializing and deserializing JSON data. It provides a flexible and efficient API for working with JSON objects.

Default Typing is a feature in FasterXML jackson-databind that allows automatic inclusion of type information during serialization and deserialization. It enables the library to handle polymorphic types.

The vulnerability allows for the execution of arbitrary code, potentially leading to remote code execution. This can result in unauthorized access, data breaches, and system compromise.

To mitigate the risk, it is recommended to upgrade to the latest non-vulnerable version of FasterXML jackson-databind. If immediate upgrade is not possible, disabling Default Typing or removing the Oracle JDBC jar from the classpath can serve as temporary workarounds.

Related vulnerabilities

Recent vulnerabilities recorded for com.fasterxml.jackson.core:jackson-databind.

How To Fix

Latest published version: 2.22.4 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 2.7.0, < 2.7.9.4 2.7.9.4
  • >= 2.8.0, < 2.8.11.2 2.8.11.2
  • >= 2.9.0, < 2.9.6 2.9.6

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback