CVSS 3.0
9.8 criticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8) in redhat openshift container platform. EPSS 2.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2018-1085 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1085?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1085?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1085 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| redhat:openshift_container_platform | before 3.9.31 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Red Hat | openshift:3.9::el7 | atomic-openshift, atomic-openshift-pod, atomic-openshift-node and 11 more | 0:3.9.31-1.git.0.ef9737b.el7 | RHSA-2018:2013 |
| Red Hat | openshift:3.9::el7 | atomic-openshift-descheduler | 0:3.9.13-1.git.267.bb59a3f.el7 | RHSA-2018:2013 |
| Red Hat | openshift:3.9::el7 | atomic-openshift-dockerregistry | 0:3.9.31-1.git.351.1bd46ed.el7 | RHSA-2018:2013 |
| Red Hat | openshift:3.9::el7 | atomic-openshift-node-problem-detector | 0:3.9.13-1.git.167.5d6b0d4.el7 | RHSA-2018:2013 |
| Red Hat | openshift:3.9::el7 | atomic-openshift-web-console | 0:3.9.31-1.git.246.bded6a4.el7 | RHSA-2018:2013 |
| Red Hat | openshift:3.9::el7 | mysql-apb-role | 0:1.1.11-1.el7 | RHSA-2018:2013 |
| Red Hat | openshift:3.9::el7 | openshift-ansible, atomic-openshift-utils, openshift-ansible-docs and 2 more | 0:3.9.31-1.git.34.154617d.el7 | RHSA-2018:2013 |
| Red Hat | openshift:3.9::el7 | prometheus-node-exporter, golang-github-prometheus-node_exporter | 0:3.9.31-1.git.890.a55de06.el7 | RHSA-2018:2013 |
From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.
Red Hat rates this Important.
This issue affects Openshift Container Platform (OCP) only if you use the container installation method. The container installation method is tech preview in 3.7.1. This issue affected all users who did a containerized etcd in OCP versions 3.7.1-3.6.
If etcd is installed via RPM and run via '/usr/bin/etcd' it's not affected by this flaw. You can check if etcd is being run from '/usr//bin/etcd' using a 'ps' command such as this on the master nodes. If Installed via RPM you should get output similar to:
ps -ef | grep etcd
$/usr/bin/etcd --name=master-0.example.com --data-dir=/var/lib/etcd/ --listen-client-urls=https://10.0.1.1:2379
If etcd is installed via the container method running 'docker ps' on the master will show a container running the registry.access.redhat.com/rhel7/etcd image, eg:
sudo docker ps --filter name=etcd_container
$704effa9b0cc registry.access.redhat.com/rhel7/etcd "/usr/bin/etcd" 56 minutes ago Up 56 minutes etcd_container
On master nodes where etcd has been installed using the container method:
0. Verify you can connect to etcd without providing TLS authentication credentials. On any master node, check the ETCD_LISTEN_CLIENT_URLS in /etc/etcd/etcd.conf, and use one of the client urls to connect without providing a certificate, eg:
curl -4 curl https://10.0.1.1:2379/version -k
0a. If vulnerable output will show something like this:
{"etcdserver":"3.2.15","etcdcluster":"3.2.0"}
0b. If not affected the connection will fail with:
curl: (58) NSS: client certificate not found (nickname not specified)
1. update /etc/etcd/etcd.conf on the master nodes to remove quotes from these fields:
ETCD_PEER_CLIENT_CERT_AUTH="true"
ETCD_CLIENT_CERT_AUTH="true"
eg.
ETCD_PEER_CLIENT_CERT_AUTH=true
ETCD_CLIENT_CERT_AUTH=true
2. Restart the etcd container service:
sudo systemctl restart etcd_container
3. Test if client authentication is now required using the steps from 0. above.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift Container Platform 3.9 | atomic-openshift-0:3.9.31-1.git.0.ef9737b.el7 | Fixed 2018-06-27 | RHSA-2018:2013 |
| Red Hat OpenShift Container Platform 3.9 | atomic-openshift-descheduler-0:3.9.13-1.git.267.bb59a3f.el7 | Fixed 2018-06-27 | RHSA-2018:2013 |
| Red Hat OpenShift Container Platform 3.9 | atomic-openshift-dockerregistry-0:3.9.31-1.git.351.1bd46ed.el7 | Fixed 2018-06-27 | RHSA-2018:2013 |
| Red Hat OpenShift Container Platform 3.9 | atomic-openshift-node-problem-detector-0:3.9.13-1.git.167.5d6b0d4.el7 | Fixed 2018-06-27 | RHSA-2018:2013 |
| Red Hat OpenShift Container Platform 3.9 | atomic-openshift-web-console-0:3.9.31-1.git.246.bded6a4.el7 | Fixed 2018-06-27 | RHSA-2018:2013 |
| Red Hat OpenShift Container Platform 3.9 | golang-github-prometheus-node_exporter-0:3.9.31-1.git.890.a55de06.el7 | Fixed 2018-06-27 | RHSA-2018:2013 |
| Red Hat OpenShift Container Platform 3.9 | mysql-apb-role-0:1.1.11-1.el7 | Fixed 2018-06-27 | RHSA-2018:2013 |
| Red Hat OpenShift Container Platform 3.9 | openshift-ansible-0:3.9.31-1.git.34.154617d.el7 | Fixed 2018-06-27 | RHSA-2018:2013 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1085.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.