CVE-2018-7489
jackson-databind: incomplete fix for CVE-2017-7525 permits unsafe serialization via c3p0 libraries
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Ubuntu (high), Red Hat (medium).
Description
FasterXML jackson-databind before 2.7.9.3, 2.8.x before 2.8.11.1 and 2.9.x before 2.9.5 allows unauthenticated remote code execution because of an incomplete fix for the CVE-2017-7525 deserialization flaw. This is exploitable by sending maliciously crafted JSON input to the readValue method of the ObjectMapper, bypassing a blacklist that is ineffective if the c3p0 libraries are available in the classpath.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | com.fasterxml.jackson.core:jackson-databind | 2.8.11.1, 2.9.5, 2.7.9.3, 2.6.7.5 |
| debian 11 | jackson-databind | 2.9.5-1 |
| debian 12 | jackson-databind | 2.9.5-1 |
| debian 13 | jackson-databind | 2.9.5-1 |
| debian 14 | jackson-databind | 2.9.5-1 |
| debian 8 | jackson-databind | 2.4.2-2+deb8u4 |
| debian 9 | jackson-databind | 2.8.6-1+deb9u4 |
| echo | jackson-databind | 2.9.5-1 |
| Red Hat | elasticsearch-cloud-kubernetes, openshift-elasticsearch-plugin, rh-eclipse46-jackson-databind and 3 more | no fix listed |
| ubuntu 14.04-ESM | jackson-databind | 2.2.2-1ubuntu0.1~esm1 |
| ubuntu 16.04-ESM | jackson-databind | 2.4.2-3ubuntu0.1~esm1 |
| ubuntu 17.10 | jackson-databind | 2.8.6-1+deb9u4build0.17.10.1 |
Show all 17 entries from 12 sources
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | com.fasterxml.jackson.core:jackson-databind | 2.8.11.1, 2.9.5, 2.7.9.3, 2.6.7.5 |
| debian 11 | jackson-databind | 2.9.5-1 |
| debian 12 | jackson-databind | 2.9.5-1 |
| debian 13 | jackson-databind | 2.9.5-1 |
| debian 14 | jackson-databind | 2.9.5-1 |
| debian 8 | jackson-databind | 2.4.2-2+deb8u4 |
| debian 9 | jackson-databind | 2.8.6-1+deb9u4 |
| echo | jackson-databind | 2.9.5-1 |
| Red Hat | elasticsearch-cloud-kubernetes | no fix listed |
| Red Hat | openshift-elasticsearch-plugin | no fix listed |
| Red Hat | rh-eclipse46-jackson-databind | no fix listed |
| Red Hat | rh-eclipse46-jackson-databind-javadoc | no fix listed |
| Red Hat | rh-maven35-jackson-databind | no fix listed |
| Red Hat | rh-maven35-jackson-databind-javadoc | no fix listed |
| ubuntu 14.04-ESM | jackson-databind | 2.2.2-1ubuntu0.1~esm1 |
| ubuntu 16.04-ESM | jackson-databind | 2.4.2-3ubuntu0.1~esm1 |
| ubuntu 17.10 | jackson-databind | 2.8.6-1+deb9u4build0.17.10.1 |
References
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- http://www.securityfocus.com/bid/103203
- http://www.securitytracker.com/id/1040693
- http://www.securitytracker.com/id/1041890
- https://access.redhat.com/errata/RHSA-2018:1447
- https://access.redhat.com/errata/RHSA-2018:1448
All 40 references
- https://access.redhat.com/errata/RHSA-2018:1449
- https://access.redhat.com/errata/RHSA-2018:1450
- https://access.redhat.com/errata/RHSA-2018:1451
- https://access.redhat.com/errata/RHSA-2018:1786
- https://access.redhat.com/errata/RHSA-2018:2088
- https://access.redhat.com/errata/RHSA-2018:2089
- https://access.redhat.com/errata/RHSA-2018:2090
- https://access.redhat.com/errata/RHSA-2018:2938
- https://access.redhat.com/errata/RHSA-2018:2939
- https://access.redhat.com/errata/RHSA-2019:2858
- https://access.redhat.com/errata/RHSA-2019:3149
- https://access.redhat.com/security/cve/CVE-2018-7489
- https://access.redhat.com/solutions/3442891
- https://github.com/FasterXML/jackson-databind
- https://github.com/FasterXML/jackson-databind/commit/6799f8f10cc78e9af6d443ed6982d00a13f2e7d2
- https://github.com/FasterXML/jackson-databind/commit/bc22f90eb7f896ace9567598a99cb1ff6e0f9d9d
- https://github.com/FasterXML/jackson-databind/commit/c921f0935d5e41bf206e702d8077a275ba1a6efc
- https://github.com/FasterXML/jackson-databind/commit/ca2bfc86af82a1479112004b663ba74c760752e6
- https://github.com/FasterXML/jackson-databind/commit/e66c0a9d3c926ff1b63bf586c824ead1d02f2a3d
- https://github.com/FasterXML/jackson-databind/issues/1931
- https://github.com/advisories/GHSA-cggj-fvv3-cqwv
- https://lists.apache.org/thread.html/r1d4a247329a8478073163567bbc8c8cb6b49c6bfc2bf58153a857af1@%3Ccommits.druid.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2018-7489
- https://security.netapp.com/advisory/ntap-20180328-0001
- https://security.netapp.com/advisory/ntap-20180328-0001/
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03902en_us
- https://www.cve.org/CVERecord?id=CVE-2018-7489
- https://www.debian.org/security/2018/dsa-4190
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html