CVE-2020-15113
Improper Preservation of Permissions in etcd
Reported by github_m · Published August 5, 2020
github.com/etcd-io/etcd is fixed in v3.4.10 and v3.3.23 (Go Modules)
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/etcd-io/etcd | Go Modules | v3.4.10, v3.3.23 |
| etcd | Ubuntu:20.04:LTS | 3.2.26+dfsg-6ubuntu0.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| etcd-io | etcd | < 3.3.23, < 3.4.10 |
| wolfi | py3-etcd | * |
| chainguard | py3-etcd | * |
| etcd-io | etcd | 0, 0 |
| github.com | etcd-io/etcd | 0, 3.4.0-rc.0 |
Timeline
- Aug 5, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Jan 30, 2024 CVE Updated
- Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 6, 2026 Security Advisory (3 in total, the first dated here)
- Sep 4, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-15113
vulnetix vdb fixes CVE-2020-15113
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-15113/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- FEDORA-2020-cd43b84c16 vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2020-15113 advisory
- https://github.com/etcd-io/etcd/commit/6be5c54c94298ae6746a574d2af8227d0c9a998b patch
- https://github.com/etcd-io/etcd/commit/e5424fc474b274c9e6b5205165015bc2035745f2 patch
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L6B6R43Y7M3DCHWK3L3UVGE2K6WWECMP/ url
- https://github.com/advisories/GHSA-chh6-ppwq-jh92 advisory