Moderate severityNVD Advisory· Published Aug 5, 2020· Updated Aug 4, 2024
Improper Preservation of Permissions in etcd
CVE-2020-15113
Description
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).
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/etcd-io/etcdGo | >= 3.4.0-rc.0, < 3.4.10 | 3.4.10 |
github.com/etcd-io/etcdGo | < 3.3.23 | 3.3.23 |
Affected products
15- osv-coords14 versionspkg:apk/chainguard/py3.10-etcdpkg:apk/chainguard/py3.11-etcdpkg:apk/chainguard/py3.12-etcdpkg:apk/chainguard/py3.13-etcdpkg:apk/chainguard/py3-etcdpkg:apk/chainguard/py3-supported-etcdpkg:apk/wolfi/py3.10-etcdpkg:apk/wolfi/py3.11-etcdpkg:apk/wolfi/py3.12-etcdpkg:apk/wolfi/py3.13-etcdpkg:apk/wolfi/py3-etcdpkg:apk/wolfi/py3-supported-etcdpkg:bitnami/etcdpkg:golang/github.com/etcd-io/etcd
< 0+ 13 more
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 3.3.23
- (no CPE)range: >= 3.4.0-rc.0, < 3.4.10
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-chh6-ppwq-jh92ghsaADVISORY
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L6B6R43Y7M3DCHWK3L3UVGE2K6WWECMP/mitrevendor-advisoryx_refsource_FEDORA
- nvd.nist.gov/vuln/detail/CVE-2020-15113ghsaADVISORY
- github.com/etcd-io/etcd/commit/6be5c54c94298ae6746a574d2af8227d0c9a998bghsaWEB
- github.com/etcd-io/etcd/commit/e5424fc474b274c9e6b5205165015bc2035745f2ghsaWEB
- github.com/etcd-io/etcd/security/advisories/GHSA-chh6-ppwq-jh92ghsax_refsource_CONFIRMWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L6B6R43Y7M3DCHWK3L3UVGE2K6WWECMPghsaWEB
News mentions
0No linked articles in our index yet.