Jackson Databind Polymorphic Deserialization Flaws Enable Remote Code Execution
Vulnerability Disclosure · 9 sources · Updated 3mo ago · First seen Dec 12, 2017

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-databindorlibjackson-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-javapackages 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
@JsonTypeInfoto named subtypes; this is not a substitute for version and configuration review.


