CVE-2019-20330
Public on
Last Modified:
Description
A flaw was discovered in FasterXML jackson-databind, where it would permit polymorphic deserialization of malicious objects using the ehcache 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.
Statement
While OpenShift Container Platform's elasticsearch plugins do ship the vulnerable component, it doesn't do any of the unsafe things described in https://access.redhat.com/solutions/3279231. We may update the jackson-databind dependency in a future release.
Mitigation
The following conditions are needed for an exploit, we recommend avoiding all if possible:
* Deserialization from sources you do not control
* `enableDefaultTyping()`
* `@JsonTypeInfo using `id.CLASS` or `id.MINIMAL_CLASS`
Additional Information
- This content is not included.Bugzilla 1793154: jackson-databind: lacks certain net.sf.ehcache blocking
- Content from cwe.mitre.org is not included.CWE-502: Deserialization of Untrusted Data
- FAQ: Frequently asked questions about CVE-2019-20330
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2019-20330
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2019-20330
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| EAP-CD 19 Tech Preview | jackson-databind | Fixed | RHSA-2020:2333 |
| Red Hat AMQ Streams 1 | jackson-databind | Fixed | RHSA-2020:0939 |
| Red Hat Decision Manager 7 | jackson-databind | Fixed | RHSA-2020:3196 |
| Red Hat Enterprise Linux 8 | pki-core:10.6 | Fixed | RHSA-2020:1644 |
| Red Hat Enterprise Linux 8 | pki-deps:10.6 | Fixed | RHSA-2020:1644 |
| Red Hat Fuse 7.7.0 | jackson-databind | Fixed | RHSA-2020:3192 |
| Red Hat JBoss A-MQ 6 | jackson-databind | Not affected | |
| Red Hat JBoss Enterprise Application Platform 7 | jackson-databind | Not affected | |
| Red Hat JBoss Fuse 6 | jackson-databind | Not affected | |
| Red Hat Mobile Application Platform 4 | jackson-databind | Out of support scope | |
| Red Hat OpenShift Application Runtimes | jackson-databind | Affected | |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-logging-elasticsearch5 | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-logging-elasticsearch5 | Will not fix | |
| Red Hat Process Automation 7 | jackson-databind | Fixed | RHSA-2020:3197 |
| Red Hat Satellite 6.6 for RHEL 7 | candlepin | Fixed | RHBA-2020:1494 |
| Red Hat Satellite 6.6 for RHEL 7 | foreman | Fixed | RHBA-2020:1494 |
| Red Hat Satellite 6.6 for RHEL 7 | satellite | Fixed | RHBA-2020:1494 |
| Red Hat Satellite 6.6 for RHEL 7 | tfm-rubygem-fog-ovirt | Fixed | RHBA-2020:1494 |
| Red Hat Satellite 6.6 for RHEL 7 | tfm-rubygem-foreman_rh_cloud | Fixed | RHBA-2020:1494 |
| Red Hat Satellite 6.6 for RHEL 7 | tfm-rubygem-katello | Fixed | RHBA-2020:1494 |
| Red Hat Satellite 6.6 for RHEL 7 | tfm-rubygem-runcible | Fixed | RHBA-2020:1494 |
| Red Hat Satellite 6.7 for RHEL 7 | candlepin | Fixed | RHBA-2020:3255 |
| Red Hat Satellite 6.7 for RHEL 7 | foreman | Fixed | RHBA-2020:3255 |
| Red Hat Satellite 6.7 for RHEL 7 | foreman-installer | Fixed | RHBA-2020:3255 |
| Red Hat Satellite 6.7 for RHEL 7 | pulp-rpm | Fixed | RHBA-2020:3255 |
| Red Hat Satellite 6.7 for RHEL 7 | satellite | Fixed | RHBA-2020:3255 |
| Red Hat Satellite 6.7 for RHEL 7 | tfm-rubygem-fog-vsphere | Fixed | RHBA-2020:3255 |
| Red Hat Satellite 6.7 for RHEL 7 | tfm-rubygem-foreman-tasks | Fixed | RHBA-2020:3255 |
| Red Hat Satellite 6.7 for RHEL 7 | tfm-rubygem-foreman_remote_execution | Fixed | RHBA-2020:3255 |
| Red Hat Satellite 6.7 for RHEL 7 | tfm-rubygem-foreman_rh_cloud | Fixed | RHBA-2020:3255 |
| Red Hat Satellite 6.7 for RHEL 7 | tfm-rubygem-hammer_cli_foreman | Fixed | RHBA-2020:3255 |
| Red Hat Satellite 6.7 for RHEL 7 | tfm-rubygem-katello | Fixed | RHBA-2020:3255 |
| Red Hat Single Sign-On 7.3 | jackson-databind | Fixed | RHSA-2020:0951 |
| Red Hat Software Collections | rh-maven35-jackson-databind | Will not fix | |
| Text-Only RHOAR | Fixed | RHSA-2020:2067 |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
| CVSS v3 Score Breakdown | Red Hat | NVD |
|---|---|---|
| CVSS v3 Base Score | 8.1 | 9.8 |
| Attack Vector | Network | Network |
| Attack Complexity | High | Low |
| Privileges Required | None | None |
| User Interaction | None | None |
| Scope | Unchanged | Unchanged |
| Confidentiality Impact | High | High |
| Integrity Impact | High | High |
| Availability Impact | High | High |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat CVSS v3 Score Explanation
Red Hat Products do not enable the many conditions required for this flaw, and as such have a base score that differs from NVD's base evaluation, AC:L -> AC:H. This changed the base flaw impact as well, but does not alter individual product impacts.
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.