Skip to content
Fencer Vulns
medium 5.7

CVE-2020-15113 json

Improper Preservation of Permissions in etcd

published 2020-08-05 6 y ago modified 2026-09-10 1 mo ago also BIT-etcd-2020-15113 , EUVD-2024-0332 , GHSA-chh6-ppwq-jh92

cvss
5.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 12%
public exploits
0
none known

Summary

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).

Patch / fix

  • go github.com/etcd-io/etcd 3.3.23, 3.4.10
  • bitnami etcd 3.3.23, 3.4.10
  • etcd etcd 3.3.23, 3.4.10
  • etcd Debian 14, Debian 13, Debian 12 3.3.25+dfsg-5

debian advisories DEBIAN-CVE-2020-15113

  • etcd Ubuntu 20.04 LTS 3.2.26+dfsg-6ubuntu0.1
  • etcd Ubuntu Pro 18.04 LTS 3.2.17+dfsg-1ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2020-15113

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • etcd openstack 16.1 3.3.23-1.el8ost

red hat advisories RHSA-2021:0916

  • etcd CBL-Mariner 2.0 3.5.0-3

azure linux advisories AZL-6390

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-15113 updated cvss 7.1

etcd: directories created via os.MkdirAll are not checked for permissions

  • Red Hat Enterprise Linux 7 etcd
    affected: no fix planned “Will not fix”
  • Red Hat OpenStack Platform 15 (Stein) etcd
    affected: no fix available “Fix deferred”
  • Red Hat Storage 3 etcd
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 4.8 openshift4/ose-etcd v4.8.0-202106152230.p0.git.aefa6bf.assembly.stream
    fixed: vendor fix RHSA-2021:2438
  • Red Hat OpenStack Platform 16.1 etcd 3.3.23-1.el8ost
    fixed: vendor fix RHSA-2021:0916
  • Red Hat Advanced Cluster Management for Kubernetes 2 etcd Red Hat OpenShift Container Platform 4.8 openshift4/ose-cli v4.8.0-202106291725.p0.git.1077b05.assembly.stream, openshift4/ose-pod v4.8.0-202107161820.p0.git.051ac4f.assembly.stream, openshift4/ose-tests v4.8.0-202107131424.p0.git.0d958c3.assembly.stream, openshift4/ose-console v4.8.0-202107010336.p0.git.188a490.assembly.stream, openshift4/ose-coredns v4.8.0-202106291913.p0.git.642b46e.assembly.stream, openshift4/ose-grafana v4.8.0-202106291913.p0.git.b987e4b.assembly.stream, +135 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.7 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
GitHub 3.1 5.7 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
NVD 3.1 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD 2.0 3.6 AV:L/AC:L/Au:N/C:P/I:P/A:N
OSV 3.1 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected packages

ecosystem package affected fixed in
go github.com/etcd-io/etcd
>=3.4.0-rc.0, <3.4.10
<3.3.23
3.4.10
3.3.23
bitnami etcd
<3.3.23
>=3.4.0, <3.4.10
3.3.23
3.4.10

Affected products

  • etcd-io etcd

Classification

Weakness
  • CWE-281 Improper Preservation of Permissions

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.