Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1462702 - (CVE-2017-7525) CVE-2017-7525 jackson-databind: Deserialization vulnerability via readValue method of ObjectMapper
CVE-2017-7525 jackson-databind: Deserialization vulnerability via readValue m...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20170714,repo...
: Security
Depends On: 1466197 1463712 1463713 1465739 1465740 1466196 1470820 1473260 1473261 1473264 1473265 1473299 1473300 1473301 1486844 1507701 1507702 1507830
Blocks: 1462704 1474181 1475996 1477305 1485997
  Show dependency treegraph
 
Reported: 2017-06-19 07:01 EDT by Adam Mariš
Modified: 2018-10-19 17:41 EDT (History)
91 users (show)

See Also:
Fixed In Version: jackson-databind 2.8.9, jackson-databind 2.9.0
Doc Type: If docs needed, set a value
Doc Text:
A deserialization flaw was discovered in the jackson-databind which could allow an unauthenticated user to perform code execution by sending the maliciously crafted input to the readValue method of the ObjectMapper.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1834 normal SHIPPED_LIVE Important: Red Hat JBoss Enterprise Application Platform 7.0.7 on RHEL 6 2017-07-31 14:59:10 EDT
Red Hat Product Errata RHSA-2017:1835 normal SHIPPED_LIVE Important: Red Hat JBoss Enterprise Application Platform 7.0.7 on RHEL 7 2017-07-31 14:58:11 EDT
Red Hat Product Errata RHSA-2017:1836 normal SHIPPED_LIVE Important: Red Hat JBoss Enterprise Application Platform 7.0.7 2017-07-31 14:47:54 EDT
Red Hat Product Errata RHSA-2017:1837 normal SHIPPED_LIVE Important: eap7-jboss-ec2-eap security update 2017-07-31 15:20:11 EDT
Red Hat Product Errata RHSA-2017:1839 normal SHIPPED_LIVE Important: rh-eclipse46-jackson-databind security update 2017-07-31 16:32:56 EDT
Red Hat Product Errata RHSA-2017:1840 normal SHIPPED_LIVE Important: devtoolset-4-jackson-databind security update 2017-07-31 16:53:10 EDT
Red Hat Product Errata RHSA-2017:2477 normal SHIPPED_LIVE Important: Red Hat JBoss Data Virtualization 6.3 Update 7 security update 2017-08-15 15:07:56 EDT
Red Hat Product Errata RHSA-2017:2546 normal SHIPPED_LIVE Important: Red Hat JBoss BPM Suite 6.4.5 security update 2017-08-29 19:40:38 EDT
Red Hat Product Errata RHSA-2017:2547 normal SHIPPED_LIVE Important: Red Hat JBoss BRMS 6.4.5 security update 2017-08-29 19:40:27 EDT
Red Hat Product Errata RHSA-2017:2633 normal SHIPPED_LIVE Important: Red Hat JBoss Enterprise Application Platform 6.4.17 update 2017-09-05 14:32:20 EDT
Red Hat Product Errata RHSA-2017:2635 normal SHIPPED_LIVE Important: Red Hat JBoss Enterprise Application Platform 6.4.17 update on RHEL 6 2017-09-05 15:07:46 EDT
Red Hat Product Errata RHSA-2017:2636 normal SHIPPED_LIVE Important: Red Hat JBoss Enterprise Application Platform 6.4.17 update on RHEL 7 2017-09-05 15:01:10 EDT
Red Hat Product Errata RHSA-2017:2637 normal SHIPPED_LIVE Important: Red Hat JBoss Enterprise Application Platform 6.4.17 update on RHEL 5 2017-09-05 15:04:25 EDT
Red Hat Product Errata RHSA-2017:2638 normal SHIPPED_LIVE Important: jboss-ec2-eap security, bug fix, and enhancement update 2017-09-05 15:36:46 EDT
Red Hat Product Errata RHSA-2017:3141 normal SHIPPED_LIVE Important: rhvm-appliance security, bug fix, and enhancement update 2017-11-07 17:23:02 EST
Red Hat Product Errata RHSA-2017:3454 normal SHIPPED_LIVE Important: Red Hat JBoss Enterprise Application Platform 7.1.0 security update 2017-12-13 17:48:09 EST
Red Hat Product Errata RHSA-2017:3455 normal SHIPPED_LIVE Important: Red Hat JBoss Enterprise Application Platform 7.1.0 security update 2017-12-13 17:57:25 EST
Red Hat Product Errata RHSA-2017:3456 normal SHIPPED_LIVE Important: Red Hat JBoss Enterprise Application Platform 7.1.0 security update 2017-12-13 17:31:03 EST
Red Hat Product Errata RHSA-2017:3458 normal SHIPPED_LIVE Important: eap7-jboss-ec2-eap security update 2017-12-13 18:26:13 EST
Red Hat Product Errata RHSA-2018:0294 normal SHIPPED_LIVE Important: Red Hat JBoss Data Grid 7.1.2 security update 2018-02-12 17:19:54 EST
Red Hat Product Errata RHSA-2018:0342 normal SHIPPED_LIVE Important: rh-maven35-jackson-databind security update 2018-02-22 09:21:40 EST

  None (edit)
Description Adam Mariš 2017-06-19 07:01:39 EDT
A deserialization flaw in jackson-databind was found allowing code execution when given maliocusly crafted input to readValue method of ObjectMapper.
Comment 5 Adam Mariš 2017-06-21 04:34:07 EDT
Acknowledgments:

Name: Liao Xinxi (NSFOCUS)
Comment 13 Raphael Sanchez Prudencio 2017-07-20 06:43:31 EDT
Created jackson-databind tracking bugs for this issue:

Affects: fedora-all [bug 1473260]
Comment 20 errata-xmlrpc 2017-07-31 10:49:16 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform

Via RHSA-2017:1836 https://access.redhat.com/errata/RHSA-2017:1836
Comment 21 errata-xmlrpc 2017-07-31 11:00:50 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 7

Via RHSA-2017:1835 https://access.redhat.com/errata/RHSA-2017:1835
Comment 22 errata-xmlrpc 2017-07-31 11:01:42 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 6

Via RHSA-2017:1834 https://access.redhat.com/errata/RHSA-2017:1834
Comment 23 errata-xmlrpc 2017-07-31 11:20:56 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 7
  Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 6

Via RHSA-2017:1837 https://access.redhat.com/errata/RHSA-2017:1837
Comment 24 errata-xmlrpc 2017-07-31 12:33:49 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS

Via RHSA-2017:1839 https://access.redhat.com/errata/RHSA-2017:1839
Comment 25 errata-xmlrpc 2017-07-31 12:54:03 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS

Via RHSA-2017:1840 https://access.redhat.com/errata/RHSA-2017:1840
Comment 26 errata-xmlrpc 2017-08-15 11:09:34 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Data Virtualization

Via RHSA-2017:2477 https://access.redhat.com/errata/RHSA-2017:2477
Comment 27 errata-xmlrpc 2017-08-29 15:41:36 EDT
This issue has been addressed in the following products:

  Red Hat JBoss BRMS

Via RHSA-2017:2547 https://access.redhat.com/errata/RHSA-2017:2547
Comment 28 errata-xmlrpc 2017-08-29 15:42:47 EDT
This issue has been addressed in the following products:

  Red Hat JBoss BPM Suite

Via RHSA-2017:2546 https://access.redhat.com/errata/RHSA-2017:2546
Comment 30 errata-xmlrpc 2017-09-05 10:33:38 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform

Via RHSA-2017:2633 https://access.redhat.com/errata/RHSA-2017:2633
Comment 31 errata-xmlrpc 2017-09-05 11:12:59 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 7

Via RHSA-2017:2636 https://access.redhat.com/errata/RHSA-2017:2636
Comment 32 errata-xmlrpc 2017-09-05 11:14:22 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5

Via RHSA-2017:2637 https://access.redhat.com/errata/RHSA-2017:2637
Comment 33 errata-xmlrpc 2017-09-05 11:15:50 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6

Via RHSA-2017:2635 https://access.redhat.com/errata/RHSA-2017:2635
Comment 34 errata-xmlrpc 2017-09-05 11:38:11 EDT
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6

Via RHSA-2017:2638 https://access.redhat.com/errata/RHSA-2017:2638
Comment 36 Doran Moppert 2017-11-07 01:43:12 EST
Mitigation:

Mitigation to this problem is to not trigger polymorphic desrialization globally by using: objectMapper.enableDefaultTyping() and rather use @JsonTypeInfo on the class property to explicitly define the type information. For more information on this issue please refer to https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true
Comment 37 Raphael Sanchez Prudencio 2017-11-07 11:44:27 EST
Why exactly this task has rhsa_sla flag if it's not Critical?
Comment 38 errata-xmlrpc 2017-11-07 12:32:23 EST
This issue has been addressed in the following products:

  RHEV 4.X RHEV-H and Agents for RHEL-7

Via RHSA-2017:3141 https://access.redhat.com/errata/RHSA-2017:3141
Comment 46 errata-xmlrpc 2017-12-13 12:35:36 EST
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform

Via RHSA-2017:3456 https://access.redhat.com/errata/RHSA-2017:3456
Comment 47 errata-xmlrpc 2017-12-13 13:27:36 EST
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6

Via RHSA-2017:3454 https://access.redhat.com/errata/RHSA-2017:3454
Comment 48 errata-xmlrpc 2017-12-13 13:43:56 EST
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7

Via RHSA-2017:3455 https://access.redhat.com/errata/RHSA-2017:3455
Comment 49 errata-xmlrpc 2017-12-13 13:50:35 EST
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7
  Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6

Via RHSA-2017:3458 https://access.redhat.com/errata/RHSA-2017:3458
Comment 54 errata-xmlrpc 2018-02-12 12:20:20 EST
This issue has been addressed in the following products:

  Red Hat JBoss Data Grid

Via RHSA-2018:0294 https://access.redhat.com/errata/RHSA-2018:0294
Comment 55 errata-xmlrpc 2018-02-22 04:20:58 EST
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS

Via RHSA-2018:0342 https://access.redhat.com/errata/RHSA-2018:0342
Comment 57 Andrej Nemec 2018-05-14 08:06:53 EDT
Statement:

This issue affects the versions of jackson-databind (in Satellite 6.0 and 6.1) and candlepin (which embeds a copy of jackson-databind in Satellite 6.2) as shipped with Red Hat Satellite 6.x. However the affected code is NOT used at this time:

Candlepin currently uses the default type resolution configuration for the ObjectMappers it creates/uses. Nowhere in candlepin do we enable global polymorphic deserialization via enableDefaultTyping(...), therefore based on the documentation sited BZ 1462702 , candlepin should not be affected.

However as the vulnerable software ships with the product we have marked them as vulnerable to ensure the issue is tracked.

JBoss EAP 7.x only uses the vulnerable Jackson Databind library for marshalling and unmarshalling of JSON objects passed to JAX-RS webservices. Some advise about how to remain safe when using JAX-RS webservices on JBoss EAP 7.x is available here: 

https://access.redhat.com/solutions/3279231

Although JBoss Fuse ships the vulnerable version of jackson-databind, it does not call on enableDefaultTyping() for any polymorphic deserialization operations which is the root cause of this vulnerability. We have raised a Jira tracker to ensure that jackson-databind will be upgraded for Fuse 7.0, however due to feasibility issues jackson-databind cannot be upgraded in JBoss Fuse 6.3.

Note You need to log in before you can comment on or make changes to this bug.