CVE-2019-0542
Public on
Last Modified:
Description
It was found that xterm.js does not sanitize terminal escape sequences in browser terminals allowing for execution of arbitrary commands. An attacker could exploit this by convincing a user with a xterm.js browser terminal to display an escape sequence by, for example, reading a from a log file containing attacker-controlled input.
Statement
This issue affects both the atomic-openshift-web-console RPM and openshift3/ose-console container image shipped in OpenShift Container Platform. These components provide a web console for opening in-browser terminals in cluster pods. Successful exploitation of this issue would require an attacker to convince an authorized user to open an in-browser terminal on a target pod and execute a command that prints attacker-controlled input. Red Hat Product Security have rated this issue as having security impact of Moderate. A future update may address this issue.
Additional Information
- This content is not included.Bugzilla 1668531: xterm.js: Mishandling of special characters allows for remote code execution
- Content from cwe.mitre.org is not included.CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
- FAQ: Frequently asked questions about CVE-2019-0542
- 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-0542
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2019-0542
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Red Hat OpenShift Container Platform 3.10 | atomic-openshift-web-console | Fixed | RHSA-2019:2552 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/apb-base | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/apb-tools | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/automation-broker-apb | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/csi-attacher | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/csi-driver-registrar | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/csi-livenessprobe | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/csi-provisioner | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/grafana | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/jenkins-slave-base-rhel7 | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/jenkins-slave-maven-rhel7 | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/jenkins-slave-nodejs-rhel7 | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/local-storage-provisioner | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/logging-fluentd | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/manila-provisioner | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/mariadb-apb | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/mediawiki | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/mediawiki-apb | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/metrics-cassandra | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/metrics-hawkular-metrics | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/metrics-hawkular-openshift-agent | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/metrics-heapster | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/metrics-schema-installer | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/mysql-apb | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/node | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/oauth-proxy | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-ansible | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-ansible-service-broker | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-cli | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-cluster-autoscaler | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-cluster-capacity | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-cluster-monitoring-operator | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-configmap-reloader | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-console | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-control-plane | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-deployer | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-descheduler | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-docker-builder | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-docker-registry | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-efs-provisioner | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-egress-dns-proxy | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-egress-http-proxy | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-egress-router | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-haproxy-router | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-hyperkube | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-hypershift | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-keepalived-ipfailover | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-kube-rbac-proxy | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-kube-state-metrics | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-logging-curator5 | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-logging-elasticsearch5 | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-logging-eventrouter | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-logging-fluentd | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-logging-kibana5 | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-metrics-cassandra | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-metrics-hawkular-metrics | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-metrics-hawkular-openshift-agent | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-metrics-heapster | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-metrics-schema-installer | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-metrics-server | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-node | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-node-problem-detector | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-operator-lifecycle-manager | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-ovn-kubernetes | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-pod | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-prometheus-config-reloader | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-prometheus-operator | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-recycler | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-service-catalog | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-template-service-broker | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-tests | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-web-console | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/postgresql-apb | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/prometheus | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/prometheus-alertmanager | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/prometheus-node-exporter | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/registry-console | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/snapshot-controller | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/snapshot-provisioner | Fixed | RHBA-2019:0959 |
| Red Hat OpenShift Container Platform 3.11 | atomic-openshift-web-console | Fixed | RHSA-2019:1422 |
| Red Hat OpenShift Container Platform 3.9 | atomic-openshift-web-console | Fixed | RHSA-2019:2551 |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-console | Not affected |
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 | 7.5 | 8.8 |
| Attack Vector | Network | Network |
| Attack Complexity | High | Low |
| Privileges Required | None | None |
| User Interaction | Required | Required |
| Scope | Unchanged | Unchanged |
| Confidentiality Impact | High | High |
| Integrity Impact | High | High |
| Availability Impact | High | High |
CVSS v3 Vector
Red Hat CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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?
Not sure what something means? Check out our Security Glossary.