CVE-2020-15113
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).
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
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 Medium
CVSS: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 Medium
CVSS: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:
- Contact the etcd security committee
- Record
GHSA-chh6-ppwq-jh92- CVSS 3.1
- 5.7 Medium
CVSS: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 Medium
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N - CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - CVSS 2.0
- 3.6 Low
AV: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 High
CVSS: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 High
CVSS: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 High
CVSS: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:
- Contact the etcd security committee
- Record
GHSA-chh6-ppwq-jh92- CVSS 3.1
- 5.7 Medium
CVSS: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 High
CVSS: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 Medium
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N - CVSS 3.1
- 7.1 High
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
github.com/etcd-io/etcdGo |
3.4.0-rc.0 up to 3.4.10 | 3.4.10 |
github.com/etcd-io/etcdGo |
before 3.3.23 | 3.3.23 |
etcdAzure Linux:2 |
before 3.5.0-3 | 3.5.0-3 |
etcdBitnami |
before 3.3.23, 3.4.0 up to 3.4.10 | 3.3.233.4.10 |
etcdDebian:12 |
before 3.3.25+dfsg-5 | 3.3.25+dfsg-5 |
etcdDebian:13 |
before 3.3.25+dfsg-5 | 3.3.25+dfsg-5 |
etcdDebian:14 |
before 3.3.25+dfsg-5 | 3.3.25+dfsg-5 |
etcdRed 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-debuginfoRed 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-debugsourceRed 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
| Package | Affected | Fixed |
|---|---|---|
etcdUbuntu: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 |
etcdUbuntu: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 |
etcdUbuntu: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 |
etcdUbuntu: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 |
etcdUbuntu: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 less3.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 |
etcdUbuntu:25.10 |
All versions, plus listed versions 3.5.16-4 |
None known |
etcdUbuntu:26.10 |
All versions, plus listed versions 3.5.16-103.5.30-2 |
None known |
etcdUbuntu: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 |
etcdUbuntu: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 |
etcdUbuntu: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
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE 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
github.com/etcd-io/etcd/security/advisories/GHSA-chh6-ppwq-jh92
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L6B6R43Y7M3DCHWK3L3UVGE2K6WWECMP
nvd.nist.gov/vuln/detail/CVE-2020-15113
github.com/etcd-io/etcd/commit/6be5c54c94298ae6746a574d2af8227d0c9a998b
github.com/etcd-io/etcd/commit/e5424fc474b274c9e6b5205165015bc2035745f2
lists.fedoraproject.org/archives/list/[email protected]/message/L6B6R43Y7M3DCHWK3L3UVGE2K6WWECMP
Show 39 moreShow less
github.com/advisories/GHSA-chh6-ppwq-jh92
security-tracker.debian.org/tracker/CVE-2020-15113
access.redhat.com/errata/RHSA-2021:0916
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1868870
bugzilla.redhat.com/show_bug.cgi?id=1868872
bugzilla.redhat.com/show_bug.cgi?id=1868874
bugzilla.redhat.com/show_bug.cgi?id=1868878
bugzilla.redhat.com/show_bug.cgi?id=1868880
bugzilla.redhat.com/show_bug.cgi?id=1868883
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_0916.json
access.redhat.com/security/cve/CVE-2020-15106
cve.org/CVERecord?id=CVE-2020-15106
nvd.nist.gov/vuln/detail/CVE-2020-15106
github.com/etcd-io/etcd/security/advisories/GHSA-p4g4-wgrh-qrg2
access.redhat.com/security/cve/CVE-2020-15112
cve.org/CVERecord?id=CVE-2020-15112
nvd.nist.gov/vuln/detail/CVE-2020-15112
github.com/etcd-io/etcd/security/advisories/GHSA-m332-53r6-2w93
access.redhat.com/security/cve/CVE-2020-15113
cve.org/CVERecord?id=CVE-2020-15113
access.redhat.com/security/cve/CVE-2020-15114
cve.org/CVERecord?id=CVE-2020-15114
nvd.nist.gov/vuln/detail/CVE-2020-15114
github.com/etcd-io/etcd/security/advisories/GHSA-2xhq-gv6c-p224
access.redhat.com/security/cve/CVE-2020-15115
cve.org/CVERecord?id=CVE-2020-15115
nvd.nist.gov/vuln/detail/CVE-2020-15115
github.com/etcd-io/etcd/security/advisories/GHSA-4993-m7g5-r9hh
access.redhat.com/security/cve/CVE-2020-15136
cve.org/CVERecord?id=CVE-2020-15136
nvd.nist.gov/vuln/detail/CVE-2020-15136
github.com/etcd-io/etcd/security/advisories/GHSA-wr2v-9rpq-c35q
ubuntu.com/security/CVE-2020-15113
ubuntu.com/security/notices/USN-5628-1
ubuntu.com/security/notices/USN-5628-2
ubuntu.com/security/CVE-2020-15106
ubuntu.com/security/CVE-2020-15112
ubuntu.com/security/CVE-2020-15114