Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2019-12384: Unsafe Polymorphic Deserialization in FasterXML jackson-databind

Published Jun 24, 2019 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.9Medium · v3.1
EPSS45.2%99th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
Debian ProjectFasterxmlRed Hat
IdentifiersCVE-2019-12384CWE-502 · Deserialization of Untrusted Data

CVE-2019-12384 is a deserialization of untrusted data vulnerability in FasterXML jackson-databind 2.x before 2.9.9.1. jackson-databind failed to block logback-core classes from polymorphic deserialization. An attacker who can supply crafted serialized input to an application using unsafe polymorphic type resolution can cause instantiation of a logback-core gadget. The resulting impact depends on the classes available in the target application's classpath and may include remote code execution.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can provide an unauthenticated remote attacker with a range of impacts through unsafe object deserialization. Where a usable gadget chain exists in the application classpath, exploitation may result in remote code execution with the privileges of the affected application process.

Mitigation

If you can’t patch tonight, do this now.

Do not deserialize data from uncontrolled or untrusted sources. Disable unsafe default typing, including ObjectMapper.enableDefaultTyping(), and avoid @JsonTypeInfo configurations using Id.CLASS or Id.MINIMAL_CLASS. Applications without logback-core on the runtime classpath are not affected by this specific gadget-based vulnerability.

Remediation

Patch, then assume compromise.

Upgrade jackson-databind to a fixed release. For the 2.9.x branch, upgrade to 2.9.9.1 or later. Fixed releases are also available for older maintained branches: 2.8.11.4 or later, 2.7.9.6 or later, and 2.6.7.3 or later. Apply applicable vendor security updates for products that bundle jackson-databind.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 14 rejected by Mallory's analysis as not a working exploit.

View more in app →
CVE-2019-12384This repository provides an operational exploit for CVE-2019-12384, a remote code execution vulnerability in the Jackson-databind library when used with certain gadgets and the H2 database. The main exploit script (CVE-2019-12384.sh) sets up a symlink to the JRuby interpreter and executes a Ruby script (test.rb, described in the README) that deserializes a crafted payload. The payload leverages the H2 database's ability to load and execute an external SQL script via the INIT parameter in a JDBC URL. The SQL script (inject.sql) defines a Java alias that executes arbitrary shell commands, and then calls it to write the output of 'id' to a file (exploited.txt), demonstrating code execution as root. The exploit requires a local HTTP server to serve inject.sql. The repository includes a full JRuby distribution and Bundler gem files, but the exploit logic is contained in the shell script, SQL file, and the Ruby deserialization payload. The attack vector is network-based, exploiting deserialization over a service that accepts untrusted data and connects to an attacker-controlled HTTP server.jas502n · Disclosed Jul 24, 2019 · bash · ruby · networkOperationalJackson_RCE-CVE-2019-12384This repository is a proof-of-concept exploit demonstrating remote code execution via unsafe deserialization in Java applications using the Jackson-databind library (version 2.9.8) in conjunction with the H2 database (version 1.4.199). The main exploit logic is in 'src/main/java/Main.java', which crafts malicious JSON payloads that, when deserialized, trigger either the H2 database's INIT parameter to load and execute a remote SQL script (from 'http://localhost:8000/exec.sql') or a JNDI lookup to an RMI server ('rmi://127.0.0.1:1099/Exploit'). The README provides setup instructions, including creating a SQL script that defines an ALIAS for executing system commands. The exploit demonstrates the ability to execute arbitrary commands (e.g., opening Calculator) on the target system. The repository includes Maven configuration for dependencies and is structured as a typical Java Maven project. No detection scripts or fake code are present; the code is a functional exploit POC.MagicZer0 · Disclosed Jul 26, 2019 · java · xml · network · localPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Debian ProjectDebian Linuxoperating_system
FasterxmlJackson-Databindapplication
Red HatRed Hat Enterprise Linuxoperating_system
FAQ

Frequently asked questions

Is CVE-2019-12384 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2019-12384 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2019-12384?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2019-12384, the earliest disclosed Jul 24, 2019.
Is there a patch for CVE-2019-12384?
Upgrade jackson-databind to a fixed release. For the 2.9.x branch, upgrade to 2.9.9.1 or later.
What products are affected by CVE-2019-12384?
Fasterxml Jackson-Databind, Debian Project Debian Linux, and Red Hat Enterprise Linux.
How severe is CVE-2019-12384?
CVE-2019-12384 has a CVSS v3.1 score of 5.9 (Medium) and an EPSS score of 45.2% (99th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.