Skip to content
Fencer Intel
high 8.1

CVE-2018-5968 json

Deserialization of Untrusted Data in jackson-databind

published 8y ago modified last mo. also GHSA-w3f4-3q6j-rh82 , EUVD-2020-0519

cvss
8.1
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
7.2%
EPSS 7.2% chance of exploitation in 30 days, percentile 94%
public exploits
0
none known

Summary

FasterXML jackson-databind through 2.8.11 and 2.9.x through 2.9.3 allows unauthenticated remote code execution because of an incomplete fix for the CVE-2017-7525 and CVE-2017-17485 deserialization flaws. This is exploitable via two different gadgets that bypass a blacklist.

Patch / fix

  • maven com.fasterxml.jackson.core:jackson-databind 2.7.9.5, 2.8.11.1, 2.9.4
  • fasterxml jackson-databind 2.6.7.3, 2.7.9.2, 2.8.11.1, 2.9.4
  • jackson-databind Debian 14, Debian 13, Debian 12 2.9.4-1

debian advisories DEBIAN-CVE-2018-5968

  • jackson-databind Ubuntu Pro 14.04 LTS 2.2.2-1ubuntu0.1~esm1
  • jackson-databind Ubuntu Pro 16.04 LTS 2.4.2-3ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2018-5968

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • rhvm-appliance RHEL 7 2:4.2-20180504.0.el7
  • eap7-jboss-ec2-eap jboss enterprise application platform 7 7.1.1-3.1.GA_redhat_3.ep7.el6
  • eap7-jboss-ec2-eap jboss enterprise application platform 7.1 7.1.1-3.1.GA_redhat_3.ep7.el7
  • eap7-jboss-ec2-eap-samples jboss enterprise application platform 7 7.1.1-3.1.GA_redhat_3.ep7.el6
  • eap7-jboss-ec2-eap-samples jboss enterprise application platform 7.1 7.1.1-3.1.GA_redhat_3.ep7.el7
  • eap7-wss4j jboss enterprise application platform 7.1 2.1.11-1.redhat_1.1.ep7.el7
  • eap7-wildfly jboss enterprise application platform 7.1 7.1.1-4.GA_redhat_2.1.ep7.el7
  • eap7-narayana jboss enterprise application platform 7.1 5.5.31-1.Final_redhat_1.1.ep7.el7

red hat advisories RHSA-2018:1525RHSA-2018:0481RHSA-2018:0480RHSA-2018:0479

Is CVE-2018-5968 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-5968 updated cvss 8.1

jackson-databind: unsafe deserialization due to incomplete blacklist (incomplete fix for CVE-2017-7525 and CVE-2017-17485)

  • Red Hat JBoss Developer Studio 8 jackson-databind jackson-databind Red Hat JBoss Developer Studio 10 jackson-databind jackson-databind
    affected: no fix planned “Will not fix”
  • Red Hat BPM Suite 6 jackson-databind jackson-databind
    affected: no fix available
  • Red Hat JBoss Data Virtualization 6 jackson-databind jackson-databind
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Enterprise Application Platform 6 jackson-databind jackson-databind Red Hat OpenShift Container Platform 3.6 openshift-elasticsearch-plugin Red Hat OpenShift Container Platform 3.7 openshift-elasticsearch-plugin Red Hat OpenShift Container Platform 3.9 elasticsearch-cloud-kubernetes, openshift-elasticsearch-plugin Red Hat OpenShift Container Platform 3.10 elasticsearch-cloud-kubernetes, openshift-elasticsearch-plugin
    affected: no fix available
  • Red Hat Satellite 6 jackson-databind Red Hat Software Collections rh-maven35-jackson-databind, rh-eclipse46-jackson-databind, rh-maven35-jackson-databind-javadoc, rh-eclipse46-jackson-databind-javadoc Red Hat Subscription Asset Manager jackson-databind
    affected: no fix planned “Will not fix”
  • Red Hat JBoss EAP 7.1
    fixed: vendor fix RHSA-2018:0478
  • Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6 Server eap7-wss4j 2.1.11-1.redhat_1.1.ep7.el6, eap7-wildfly 7.1.1-4.GA_redhat_2.1.ep7.el6, eap7-apache-cxf 3.1.13-1.redhat_1.1.ep7.el6, eap7-xml-security 2.0.9-1.redhat_1.1.ep7.el6, eap7-jackson-core 2.8.11-1.redhat_1.1.ep7.el6, eap7-undertow 1.4.18-4.SP2_redhat_1.1.ep7.el6, +126 more
    fixed: vendor fix RHSA-2018:0479
  • Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7 Server eap7-wss4j 2.1.11-1.redhat_1.1.ep7.el7, eap7-wildfly 7.1.1-4.GA_redhat_2.1.ep7.el7, eap7-apache-cxf 3.1.13-1.redhat_1.1.ep7.el7, eap7-xml-security 2.0.9-1.redhat_1.1.ep7.el7, eap7-jackson-core 2.8.11-1.redhat_1.1.ep7.el7, eap7-undertow 1.4.18-4.SP2_redhat_1.1.ep7.el7, +126 more
    fixed: vendor fix RHSA-2018:0481
show 4 more
  • Red Hat OpenShift Container Platform 3.11 openshift3/ose-logging-elasticsearch5 v3.11.153-2
    fixed: vendor fix RHSA-2019:3149
  • Red Hat OpenShift Container Platform 4.1 openshift4/ose-logging-elasticsearch5 v4.1.18-201909201915
    fixed: vendor fix RHSA-2019:2858
  • Red Hat Virtualization 4 Hypervisor for RHEL 7 rhvm-appliance 4.2-20180504.0.el7 Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts rhvm-appliance 4.2-20180504.0.el7
    fixed: vendor fix RHSA-2018:1525
  • Red Hat JBoss A-MQ 6 jackson-databind jackson-databind Red Hat JBoss Data Grid 7 jackson-databind jackson-databind Red Hat JBoss Fuse 6 jackson-databind jackson-databind Red Hat Single Sign-On 7 jackson-databind jackson-databind
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
last mo.

Exploit prediction

7.25% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven com.fasterxml.jackson.core:jackson-databind
>=2.8.0, <2.8.11.1
>=2.9.0, <2.9.4
<2.7.9.5
2.8.11.1
2.9.4
2.7.9.5

Classification

Weakness
  • CWE-184 Incomplete List of Disallowed Inputs
  • CWE-502 Deserialization of Untrusted Data

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.