Skip to main content
Mallory
← Back to News
open-source-dependency-vulnerabilitywidely-deployed-product-advisoryproof-of-concept-release

Jackson Databind Polymorphic Deserialization Flaws Enable Remote Code Execution

Vulnerability Disclosure · 9 sources · Updated 3mo ago · First seen Dec 12, 2017

Jackson Databind Polymorphic Deserialization Flaws Enable Remote Code Execution

CVE-2017-7525 affects Jackson Databind when applications pass attacker-controlled JSON to ObjectMapper.readValue while global polymorphic typing has been enabled with ObjectMapper.enableDefaultTyping(). Attackers can abuse unsafe gadget types, including com.sun.rowset.JdbcRowSetImpl in susceptible dependency environments, to achieve unauthenticated code execution. Jackson also addressed the related CVE-2017-15095 by expanding restrictions on dangerous JDK types used in polymorphic deserialization; affected fixes targeted versions 2.8.10 and 2.9.1, with a 2.7 backport.

Red Hat released updates for numerous products, including JBoss EAP, OpenShift Container Platform, JBoss Data Grid, Fuse, and Software Collections; RHSA-2017:1839 supplied rh-eclipse46-jackson-databind-2.6.3-2.3.el7 for affected RHEL 7 deployments. Debian later shipped LTS updates for Jessie and Stretch that fixed CVE-2017-7525, CVE-2017-15095, and the Jackson XML XXE flaw CVE-2019-10172. Organizations should update affected Jackson packages and avoid globally enabling default typing, using explicit @JsonTypeInfo only where type metadata is required. Apache Solr's review found its 7.7 branch did not enable default typing and constrained @JsonTypeInfo to named subtypes, reducing exposure to these exploit paths.

Why it matters

Impact assessment

Jackson Databind deployments are exposed to unauthenticated remote code execution when attacker-controlled JSON reaches ObjectMapper.readValue and global polymorphic typing is enabled. Exposure is configuration-dependent rather than universal, but vulnerable internet-facing Java services can suffer full application compromise, including data theft, service disruption, lateral movement, and reputational damage.

  • Affected environments include Java applications using vulnerable jackson-databind or libjackson-json-java, particularly JAX-RS/API services that deserialize untrusted request bodies.
  • Red Hat product families covered by advisories include JBoss EAP, OpenShift Container Platform, JBoss Data Grid, JBoss Data Virtualization, JBoss BRMS, JBoss BPM Suite, Red Hat Virtualization, Fuse, Satellite components, and Red Hat Software Collections.
  • Specifically affected Red Hat Software Collections 1 deployments include RHEL 7 Server releases 7.3 through 7.7 and RHEL 7 Workstation using rh-eclipse46-jackson-databind.
  • Debian Jessie and Stretch installations using affected libjackson-json-java packages require the published LTS updates.
  • The exploit condition requires ObjectMapper.enableDefaultTyping() or an equivalently unsafe unrestricted polymorphic-deserialization configuration; merely having a vulnerable library version installed does not establish exploitability.
  • No confirmed exploitation in the wild is reported in the supplied references.
  • Apache Solr 7.7 was assessed as not apparently exploitable through these paths because its reviewed code did not enable default typing and limited @JsonTypeInfo to named subtypes; this is not a substitute for version and configuration review.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

10 events · Apr 11, 2017 – Dec 2019
  1. Reported Aug 1, 20206y ago

    Debian releases Stretch update for Jackson vulnerabilities

    Debian published DLA-2342-1 for Debian 9 Stretch and provided libjackson-json-java version 1.9.2-8+deb9u1. The advisory addressed CVE-2017-7525, CVE-2017-15095, and CVE-2019-10172.

    [SECURITY] [DLA 2342-1] libjackson-json-java security update
  2. Reported Jan 1, 20207y ago

    Debian releases Jessie update for Jackson vulnerabilities

    Debian published DLA 2091-1 for Debian 8 Jessie, updating libjackson-json-java to version 1.9.2-3+deb8u1. The update addressed CVE-2017-7525, CVE-2017-15095, and CVE-2019-10172.

    [SECURITY] [DLA 2091-1] libjackson-json-java security update
  3. Dec 2019

    Apache Solr assesses CVE-2017-7525 exposure in Solr 7.7

    An Apache Solr source review concluded that older Jackson polymorphic-deserialization RCE issues did not appear exploitable in Solr 7.7 because default typing was not enabled and @JsonTypeInfo was restricted to named subtypes. Solr maintainers said no 7.x backport of the Hadoop 3.x upgrade associated with SOLR-13110 was planned.

    Re: CVE-2017-7525 fix for Solr 7.7.x-Apache Mail Archives
  4. Reported Dec 12, 20179y ago

    FasterXML locks CVE-2017-15095 tracking issue

    FasterXML locked jackson-databind issue #1737 and limited further discussion to collaborators, directing users to CVE records for fixed-version information.

    Block more JDK types from polymorphic deserialization (CVE 2017-15095) · Issue #1737 · FasterXML/jackson-databind
  5. Dec 12, 20179y ago

    FasterXML accepts Jackson Databind 2.7 security backport

    FasterXML accepted a 2.7-branch backport of the CVE-2017-15095 blacklist changes through commit e865a7a.

    Block more JDK types from polymorphic deserialization (CVE 2017-15095) · Issue #1737 · FasterXML/jackson-databind
  6. Reported Oct 4, 20179y ago

    Exploitation write-up for CVE-2017-7525 published

    An exploitation-focused write-up for the Jackson Databind RCE vulnerability CVE-2017-7525 was published. The supplied reference does not provide technical details of the exploit or explicitly date the underlying disclosure event.

    Exploiting the Jackson RCE: CVE-2017-7525 - Adam Caudill
  7. Aug 17, 20179y ago

    FasterXML fixes additional polymorphic-deserialization issue

    FasterXML opened and completed issue #1737 for CVE-2017-15095, expanding jackson-databind's blocked JDK types for polymorphic deserialization. The initial fix, commit ddfddfb, targeted versions 2.8.10 and 2.9.1.

    Block more JDK types from polymorphic deserialization (CVE 2017-15095) · Issue #1737 · FasterXML/jackson-databind
  8. Aug 4, 20179y ago

    Jackson Databind CVE-2017-7525 report filed

    A user opened FasterXML jackson-databind issue #1723, reporting that CVE-2017-7525 affected version 2.8.9 and pre-release builds of 2.9.0. The report described an RCE-related deserialization path involving com.sun.rowset.JdbcRowSetImpl.

    Deserialization vulnerability via polymorphic deserialization (CVE-2017-7525) · Issue #1723 · FasterXML/jackson-databind
  9. Jul 31, 20179y ago

    Red Hat releases updates for CVE-2017-7525

    Red Hat issued security advisories including RHSA-2017:1839 to fix CVE-2017-7525 in jackson-databind. The flaw could allow unauthenticated code execution when malicious input was processed by ObjectMapper.readValue with global default typing enabled.

    1462702 - (CVE-2017-7525) CVE-2017-7525 jackson-databind: Deserialization vulnerability via readValue method of ObjectMapper
  10. Apr 11, 201710y ago

    FasterXML opens CVE-2017-7525 deserialization vulnerability issue

    A FasterXML user opened jackson-databind issue #1599 reporting that default typing could permit arbitrary code or command execution through malicious serialized input. Maintainers began investigating and developing a patch.

    Jackson Deserializer security vulnerability via default typing (CVE-2017-7525) · Issue #1599 · FasterXML/jackson-databind
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.