Every CVE Search/ Get API key

CVE-2020-15113

Improper Preservation of Permissions in etcd

5.7 MediumFix available

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

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
None

Exploit likelihood

0.22%Down 0.4 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 5.7

Improper Preservation of Permissions in etcd

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

Record
CVE-2020-15113
CVSS 3.1
5.7 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-281
Updated
2026-11-02
EUVDEUVD-2024-0332 5.7

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

Record
EUVD-2024-0332
CVSS 3.1
5.7 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-chh6-ppwq-jh92 5.7

Improper Preservation of Permissions in etcd

Vulnerability type

Access Controls

Detail

etcd creates certain directory paths (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.

Specific Go Package Affected

github.com/etcd-io/etcd/pkg/fileutil

Workarounds

Make sure these directories have the desired permit (700).

References

Find out more on this vulnerability in the security audit report

For more information

If you have any questions or comments about this advisory:

Record
GHSA-chh6-ppwq-jh92
CVSS 3.1
5.7 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-281
Updated
2026-11-02
NVD 5.7

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

Record
CVE-2020-15113
CVSS 3.1
5.7 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS 2.0
3.6 LowAV:L/AC:L/Au:N/C:P/I:P/A:N
Weakness
CWE-281
Updated
2026-11-02
OSVAZL-6390 7.1

CVE-2020-15113 affecting package etcd for versions less than 3.5.0-3

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

Record
AZL-6390
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-02
OSV 7.1

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

Record
CVE-2020-15113
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2020-15113 7.1

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

Record
DEBIAN-CVE-2020-15113
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-02
OSVGHSA-chh6-ppwq-jh92 5.7

Improper Preservation of Permissions in etcd

Vulnerability type

Access Controls

Detail

etcd creates certain directory paths (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.

Specific Go Package Affected

github.com/etcd-io/etcd/pkg/fileutil

Workarounds

Make sure these directories have the desired permit (700).

References

Find out more on this vulnerability in the security audit report

For more information

If you have any questions or comments about this advisory:

Record
GHSA-chh6-ppwq-jh92
CVSS 3.1
5.7 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-281
Updated
2026-11-02
OSVRHSA-2021:0916 7.7

Red Hat Security Advisory: Red Hat OpenStack Platform 16.1.4 (etcd) security update

Record
RHSA-2021:0916
CVSS 3.1
7.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-15113 5.7

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

Record
UBUNTU-CVE-2020-15113
CVSS 3.1
5.7 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
CVSS 3.1
7.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-02
OSVBIT-etcd-2020-15113 No score

Improper Preservation of Permissions in etcd

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

Record
BIT-etcd-2020-15113
Updated
2026-11-02
OSVUSN-5628-1 No score

etcd vulnerabilities

It was discovered that etcd incorrectly handled certain specially crafted WAL files. An attacker could possibly use this issue to cause a denial of service. (CVE-2020-15106, CVE-2020-15112)

It was discovered that etcd incorrectly handled directory permissions when trying to create a directory that exists already. An attacker could possibly use this issue to obtain sensitive information. (CVE-2020-15113)

It was discovered that etcd incorrectly handled endpoint setup. An attacker could possibly use this issue to cause a denial of service. (CVE-2020-15114)

Record
USN-5628-1
Updated
2026-11-02
OSVUSN-5628-2 No score

etcd vulnerabilities

USN-5628-1 fixed vulnerabilities in etcd. This update provides the corresponding updates for Ubuntu 18.04 ESM.

Original advisory details:

It was discovered that etcd incorrectly handled certain specially crafted WAL files. An attacker could possibly use this issue to cause a denial of service. (CVE-2020-15106, CVE-2020-15112)

It was discovered that etcd incorrectly handled directory permissions when trying to create a directory that exists already. An attacker could possibly use this issue to obtain sensitive information. (CVE-2020-15113)

It was discovered that etcd incorrectly handled endpoint setup. An attacker could possibly use this issue to cause a denial of service. (CVE-2020-15114)

Record
USN-5628-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
github.com/etcd-io/etcd
Go
3.4.0-rc.0 up to 3.4.10
3.4.10
github.com/etcd-io/etcd
Go
before 3.3.23
3.3.23
etcd
Azure Linux:2
before 3.5.0-3
3.5.0-3
etcd
Bitnami
before 3.3.23, 3.4.0 up to 3.4.10
3.3.233.4.10
etcd
Debian:12
before 3.3.25+dfsg-5
3.3.25+dfsg-5
etcd
Debian:13
before 3.3.25+dfsg-5
3.3.25+dfsg-5
etcd
Debian:14
before 3.3.25+dfsg-5
3.3.25+dfsg-5
etcd
Red Hat:openstack:16.1::el8
From an advisory covering 6 CVEs
before 0:3.3.23-1.el8ost
0:3.3.23-1.el8ost
etcd-debuginfo
Red Hat:openstack:16.1::el8
From an advisory covering 6 CVEs
before 0:3.3.23-1.el8ost
0:3.3.23-1.el8ost
etcd-debugsource
Red Hat:openstack:16.1::el8
From an advisory covering 6 CVEs
before 0:3.3.23-1.el8ost
0:3.3.23-1.el8ost
Show 10 moreShow less
Affected packages
PackageAffectedFixed
etcd
Ubuntu:16.04:LTS
All versions, plus listed versions
2.2.0+dfsg-22.2.1+dfsg-12.2.2+dfsg-12.2.2+dfsg-22.2.3+dfsg-12.2.5+dfsg-12.2.5+dfsg-1ubuntu1
None known
etcd
Ubuntu:Pro:18.04:LTS
before 3.2.17+dfsg-1ubuntu0.1~esm1, plus listed versions
3.1.0-13.2.9+dfsg-23.2.9+dfsg-33.2.17+dfsg-1
3.2.17+dfsg-1ubuntu0.1~esm1
etcd
Ubuntu:20.04:LTS
before 3.2.26+dfsg-6ubuntu0.1, plus listed versions
3.2.26+dfsg-33.2.26+dfsg-43.2.26+dfsg-6
3.2.26+dfsg-6ubuntu0.1
etcd
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
3.3.25+dfsg-63.3.25+dfsg-73.3.25+dfsg-7ubuntu0.22.04.13.3.25+dfsg-7ubuntu0.22.04.1+esm13.3.25+dfsg-7ubuntu0.22.04.23.3.25+dfsg-7ubuntu0.22.04.2+esm13.3.25+dfsg-7ubuntu0.22.04.2+esm23.3.25+dfsg-7ubuntu0.22.04.2+esm3
None known
etcd
Ubuntu:Pro:24.04:LTS
All versions, plus listed versions
3.4.23-4ubuntu23.4.30-13.4.30-1build13.4.30-1ubuntu0.24.04.13.4.30-1ubuntu0.24.04.2
Show 4 moreShow less
3.4.30-1ubuntu0.24.04.2+esm13.4.30-1ubuntu0.24.04.33.4.30-1ubuntu0.24.04.3+esm13.4.30-1ubuntu0.24.04.3+esm2
None known
etcd
Ubuntu:25.10
All versions, plus listed versions
3.5.16-4
None known
etcd
Ubuntu:26.10
All versions, plus listed versions
3.5.16-103.5.30-2
None known
etcd
Ubuntu:Pro:26.04:LTS
All versions, plus listed versions
3.5.16-43.5.16-103.5.16-10ubuntu0.26.04.1~esm1
None known
etcd
Ubuntu:20.04:LTS
From an advisory covering 4 CVEs
before 3.2.26+dfsg-6ubuntu0.1, plus listed versions
3.2.26+dfsg-33.2.26+dfsg-43.2.26+dfsg-6
3.2.26+dfsg-6ubuntu0.1
etcd
Ubuntu:Pro:18.04:LTS
From an advisory covering 4 CVEs
before 3.2.17+dfsg-1ubuntu0.1~esm1, plus listed versions
3.1.0-13.2.9+dfsg-23.2.9+dfsg-33.2.17+dfsg-1
3.2.17+dfsg-1ubuntu0.1~esm1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-15113 is a medium vulnerability (CVSS 5.7) in Etcd, published August 5, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.22%, the 12th percentile. Fixed in github.com/etcd-io/etcd 3.4.10.

References

Show 39 moreShow less
MoveEnter Open