In etcd before versions 3.3.23 and 3.4.10, certain directory paths are created (etcd data directory and the directory path when provided to automatically generate self-signed certificates for TLS connections with clients) with restricted access permissions (700) by using the os.MkdirAll. This function does not perform any permission checks when a given directory path exists already. A possible workaround is to ensure the directories have the desired permission (700). References: https://github.com/etcd-io/etcd/security/advisories/GHSA-chh6-ppwq-jh92
Created etcd tracking bugs for this issue: Affects: fedora-all [bug 1868871]
Patched versions 3.4.10, 3.3.23
Care is needs to be take to ensure that no possible senario exists where etcd will fail to start because of pervious permissions. For this reason this patch will be deffered until proper testing can be completed. The failure case of "permission was not checked on existing data directory and the directory used for automatically generating self-signed certificates for TLS connections with clients" does not apply to OCP4.
External References: https://github.com/etcd-io/etcd/security/advisories/GHSA-chh6-ppwq-jh92
Statement: In Red Hat OpenShift Container Platform (RHOCP) the affected components are behind OpenShift OAuth authentication. This restricts access to the vulnerable etcd to authenticated users only, therefore the impact by this vulnerability is Low. A similar access restriction is in place in Red Hat OpenStack Platform (RHOSP) as etcd is limited to use within the internal API network, which is not accessible to any OpenStack tenants.
This issue has been addressed in the following products: Red Hat OpenStack Platform 16.1 Via RHSA-2021:0916 https://access.redhat.com/errata/RHSA-2021:0916
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2020-15113
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.8 Via RHSA-2021:2438 https://access.redhat.com/errata/RHSA-2021:2438