CVE-2019-14893
jackson-databind: Serialization gadgets in classes of the xalan package
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high), Red Hat (medium), Ubuntu (medium).
Description
A flaw was discovered in FasterXML jackson-databind in all versions before 2.9.10 and 2.10.0, where it would permit polymorphic deserialization of malicious objects using the xalan JNDI gadget when used in conjunction with polymorphic type handling methods such as `enableDefaultTyping()` or when @JsonTypeInfo is using `Id.CLASS` or `Id.MINIMAL_CLASS` or in any other way which ObjectMapper.readValue might instantiate objects from unsafe sources. An attacker could use this flaw to execute arbitrary code.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 10 | jackson-databind | 2.9.8-3+deb10u1 |
| debian 11 | jackson-databind | 2.10.0-1 |
| debian 12 | jackson-databind | 2.10.0-1 |
| debian 13 | jackson-databind | 2.10.0-1 |
| debian 14 | jackson-databind | 2.10.0-1 |
| debian 8 | jackson-databind | 2.4.2-2+deb8u9 |
| debian 9 | jackson-databind | 2.8.6-1+deb9u6 |
| echo | jackson-databind | 2.10.0-1 |
| maven::GitHub Security Advisory Maven | com.fasterxml.jackson.core:jackson-databind | 2.9.10 |
| Red Hat | elasticsearch-cloud-kubernetes, opendaylight, openshift-elasticsearch-plugin and 2 more | no fix listed |
| ubuntu 18.04-ESM | jackson-databind | no fix listed |
Show all 15 entries from 11 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 10 | jackson-databind | 2.9.8-3+deb10u1 |
| debian 11 | jackson-databind | 2.10.0-1 |
| debian 12 | jackson-databind | 2.10.0-1 |
| debian 13 | jackson-databind | 2.10.0-1 |
| debian 14 | jackson-databind | 2.10.0-1 |
| debian 8 | jackson-databind | 2.4.2-2+deb8u9 |
| debian 9 | jackson-databind | 2.8.6-1+deb9u6 |
| echo | jackson-databind | 2.10.0-1 |
| maven::GitHub Security Advisory Maven | com.fasterxml.jackson.core:jackson-databind | 2.9.10 |
| Red Hat | elasticsearch-cloud-kubernetes | no fix listed |
| Red Hat | opendaylight | no fix listed |
| Red Hat | openshift-elasticsearch-plugin | no fix listed |
| Red Hat | rh-maven35-jackson-databind | no fix listed |
| Red Hat | rh-maven35-jackson-databind-javadoc | no fix listed |
| ubuntu 18.04-ESM | jackson-databind | no fix listed |
References
- https://access.redhat.com/errata/RHSA-2020:0729
- https://access.redhat.com/security/cve/CVE-2019-14893
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14893
- https://github.com/FasterXML/jackson-databind/commit/998efd708284778f29d83d7962a9bd935c228317
- https://github.com/FasterXML/jackson-databind/issues/2469
- https://lists.apache.org/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0@%3Cissues.bookkeeper.apache.org%3E
- https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2@%3Cissues.geode.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2019-14893