CVE-2020-15113 Improper Preservation of Permissions in etcd
HighCVSS 7.1
EPSS 0.22%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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).
Upgrade path
18 packages: 7 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/etcd(Ubuntu 16.04) | = 2.2.0+dfsg-2; = 2.2.1+dfsg-1; = 2.2.2+dfsg-1; = 2.2.2+dfsg-2 +4 more | No fix listed | No fix yet |
| ubuntu/etcd(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/etcd(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/etcd(Ubuntu 25.10) | = 3.5.16-4; All versions | No fix listed | No fix yet |
| ubuntu/etcd(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/etcd(Ubuntu 26.10) | = 3.5.16-10; = 3.5.30-2; All versions | No fix listed | No fix yet |
| ubuntu/etcd(Ubuntu Pro 22.04) | = 3.3.25+dfsg-6; = 3.3.25+dfsg-7; = 3.3.25+dfsg-7ubuntu0.22.04.1; = 3.3.25+dfsg-7ubuntu0.22.04.1+esm1 +5 more | No fix listed | No fix yet |
| ubuntu/etcd(Ubuntu Pro 24.04) | = 3.4.23-4ubuntu2; = 3.4.30-1; = 3.4.30-1build1; = 3.4.30-1ubuntu0.24.04.1 +6 more | No fix listed | No fix yet |
| ubuntu/etcd(Ubuntu Pro 26.04) | = 3.5.16-4; = 3.5.16-10; = 3.5.16-10ubuntu0.26.04.1~esm1; All versions | No fix listed | No fix yet |
| debian/etcd(Debian 12) | < 3.3.25+dfsg-5 | 3.3.25+dfsg-5 | Fixed |
| debian/etcd(Debian 13) | < 3.3.25+dfsg-5 | 3.3.25+dfsg-5 | Fixed |
| debian/etcd(Debian 14) | < 3.3.25+dfsg-5 | 3.3.25+dfsg-5 | Fixed |
| etcd | < 3.3.23; >= 3.4.0, < 3.4.10 | 3.3.23, 3.4.10 | Fixed |
| etcd-io github.com/etcd-io/etcd(Go) | < 3.3.23; >= 3.4.0-rc.0, < 3.4.10 | 3.3.23, 3.4.10 | Fixed |
| ubuntu/etcd(Ubuntu 20.04) | < 3.2.26+dfsg-6ubuntu0.1; = 3.2.26+dfsg-3; = 3.2.26+dfsg-4; = 3.2.26+dfsg-6 | 3.2.26+dfsg-6ubuntu0.1 | Fixed |
| ubuntu/etcd(Ubuntu Pro 18.04) | < 3.2.17+dfsg-1ubuntu0.1~esm1; = 3.1.0-1; = 3.2.9+dfsg-2; = 3.2.9+dfsg-3 +1 more | 3.2.17+dfsg-1ubuntu0.1~esm1 | Fixed |
| etcd-io github.com/etcd-io/etcd | = < 3.3.23; = < 3.4.10 | No fix listed | Versions listed |
| fedoraproject fedora | = 32 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| etcd-io github.com/etcd-io/etcd(Go) | >= 3.4.0-rc.0, < 3.4.10 | 3.4.10 |
| etcd-io github.com/etcd-io/etcd(Go) | < 3.3.23 | 3.3.23 |
| debian/etcd(Debian:12) | < 3.3.25+dfsg-5 | 3.3.25+dfsg-5 |
| debian/etcd(Debian:13) | < 3.3.25+dfsg-5 | 3.3.25+dfsg-5 |
| debian/etcd(Debian:14) | < 3.3.25+dfsg-5 | 3.3.25+dfsg-5 |
| etcd | < 3.3.23 | 3.3.23 |
| etcd | >= 3.4.0, < 3.4.10 | 3.4.10 |
| fedoraproject fedora | = 32 | No fix listed |
| ubuntu/etcd(Ubuntu:24.04) | All versions | No fix listed |
| etcd-io github.com/etcd-io/etcd | = < 3.3.23 | No fix listed |
| etcd-io github.com/etcd-io/etcd | = < 3.4.10 | No fix listed |
| ubuntu/etcd(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/etcd(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/etcd(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/etcd(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/etcd(Ubuntu:16.04) | = 2.2.0+dfsg-2 | No fix listed |
| ubuntu/etcd(Ubuntu:16.04) | = 2.2.1+dfsg-1 | No fix listed |
| ubuntu/etcd(Ubuntu:16.04) | = 2.2.2+dfsg-1 | No fix listed |
| ubuntu/etcd(Ubuntu:16.04) | = 2.2.2+dfsg-2 | No fix listed |
| ubuntu/etcd(Ubuntu:16.04) | = 2.2.3+dfsg-1 | No fix listed |
| ubuntu/etcd(Ubuntu:16.04) | = 2.2.5+dfsg-1 | No fix listed |
| ubuntu/etcd(Ubuntu:16.04) | = 2.2.5+dfsg-1ubuntu1 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:18.04) | < 3.2.17+dfsg-1ubuntu0.1~esm1 | 3.2.17+dfsg-1ubuntu0.1~esm1 |
| ubuntu/etcd(Ubuntu:Pro:18.04) | = 3.1.0-1 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:18.04) | = 3.2.9+dfsg-2 | No fix listed |
Show 33 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/etcd(Ubuntu:Pro:18.04) | = 3.2.9+dfsg-3 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:18.04) | = 3.2.17+dfsg-1 | No fix listed |
| ubuntu/etcd(Ubuntu:20.04) | < 3.2.26+dfsg-6ubuntu0.1 | 3.2.26+dfsg-6ubuntu0.1 |
| ubuntu/etcd(Ubuntu:20.04) | = 3.2.26+dfsg-3 | No fix listed |
| ubuntu/etcd(Ubuntu:20.04) | = 3.2.26+dfsg-4 | No fix listed |
| ubuntu/etcd(Ubuntu:20.04) | = 3.2.26+dfsg-6 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:22.04) | All versions | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:22.04) | = 3.3.25+dfsg-6 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:22.04) | = 3.3.25+dfsg-7 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:22.04) | = 3.3.25+dfsg-7ubuntu0.22.04.1 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:22.04) | = 3.3.25+dfsg-7ubuntu0.22.04.1+esm1 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:22.04) | = 3.3.25+dfsg-7ubuntu0.22.04.2 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:22.04) | = 3.3.25+dfsg-7ubuntu0.22.04.2+esm1 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:22.04) | = 3.3.25+dfsg-7ubuntu0.22.04.2+esm2 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:22.04) | = 3.3.25+dfsg-7ubuntu0.22.04.2+esm3 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:24.04) | All versions | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:24.04) | = 3.4.23-4ubuntu2 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:24.04) | = 3.4.30-1 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:24.04) | = 3.4.30-1build1 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:24.04) | = 3.4.30-1ubuntu0.24.04.1 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:24.04) | = 3.4.30-1ubuntu0.24.04.2 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:24.04) | = 3.4.30-1ubuntu0.24.04.2+esm1 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:24.04) | = 3.4.30-1ubuntu0.24.04.3 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:24.04) | = 3.4.30-1ubuntu0.24.04.3+esm1 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:24.04) | = 3.4.30-1ubuntu0.24.04.3+esm2 | No fix listed |
| ubuntu/etcd(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/etcd(Ubuntu:25.10) | = 3.5.16-4 | No fix listed |
| ubuntu/etcd(Ubuntu:26.10) | = 3.5.16-10 | No fix listed |
| ubuntu/etcd(Ubuntu:26.10) | = 3.5.30-2 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:26.04) | All versions | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:26.04) | = 3.5.16-4 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:26.04) | = 3.5.16-10 | No fix listed |
| ubuntu/etcd(Ubuntu:Pro:26.04) | = 3.5.16-10ubuntu0.26.04.1~esm1 | No fix listed |
References
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-5628-1 vendor-advisory
- USN-5628-2 vendor-advisory
- www.cve.org issue-tracking
- github.com issue-tracking third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- lists.fedoraproject.org
- github.com
- Debian Security Tracker CVE-2020-15113 vendor-advisory
- FEDORA-2020-cd43b84c16 vendor-advisory
- bugs.debian.org issue-tracking