CVE-2018-1085

[UNKNOWN] openshift-ansible: DEPRECATED: Authentication Bypass Issues

9.0 critical EPSS 2.24%

Published 15 Jun 2018 Updated 5 Aug 2024 CNA: redhat

Description

openshift-ansible before versions 3.9.23, 3.7.46 deploys a misconfigured etcd file that causes the SSL client certificate authentication to be disabled. Quotations around the values of ETCD_CLIENT_CERT_AUTH and ETCD_PEER_CLIENT_CERT_AUTH in etcd.conf result in etcd being configured to allow remote users to connect without any authentication if they can access the etcd server bound to the network on the master nodes. An attacker could use this flaw to read and modify all the data about the Openshift cluster in the etcd datastore, potentially adding another compute node, or bringing down the entire cluster.

Severity (CVSS)

9.0 critical CVSS 3.0 from redhat (CNA)
CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack vector
adjacent: the attacker has to be on the same local network or link
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 2.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 83.5% of all scored CVEs. Scores of 26 Nov 2026.

Weakness

  • CWE-592 DEPRECATED: Authentication Bypass Issues

Affected products

As the CNA lists them.

ProductVersions
openshift-ansible
[UNKNOWN]
affected openshift-ansible 3.9.23-1
affected openshift-ansible 3.7.46-1

Is my server affected?

Find the installed version of openshift-ansible and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i openshift-ansible
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2018-1085 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2018-1085

RHEL, Rocky, Alma, Fedora

rpm -q openshift-ansible
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2018-1085

Alpine

apk list --installed | grep -i openshift-ansible

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2018-1085
trivy image --scanners vuln IMAGE | grep CVE-2018-1085

PatchBrief makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Install the agent.

References

Advisories

Source: the record CVE-2018-1085 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.