CVE-2020-15113: Improper Preservation of Permissions in etcd

Published Aug 5, 2020
·
Updated

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

Other sources

A flaw was found in etcd. Certain directory paths are created 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.

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

Affected Software

8 affected componentsFixes available
redhat/etcd<0:3.3.23-1.el8
0:3.3.23-1.el8
redhat/etcd<3.4.10
3.4.10
redhat/etcd<3.3.23
3.3.23
go/github.com/etcd-io/etcd<3.3.23
3.3.23
go/github.com/etcd-io/etcd>=3.4.0-rc.0<3.4.10
3.4.10
Etcd Etcd<3.3.23
Etcd Etcd>=3.4.0<3.4.10
Fedoraproject Fedora=32

Event History

Aug 5, 2020
CVE Published
12:00 AM
CVE Published
via MITRE·07:30 PM
Data Sourced
via MITRE·07:30 PM
DescriptionSeverityWeakness
Jan 30, 2024
Advisory Published
via GitHub·11:54 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-15113?

CVE-2020-15113 is a vulnerability found in etcd that allows certain directory paths to be created with restricted access permissions.

2

What is the severity of CVE-2020-15113?

CVE-2020-15113 has a severity rating of 7.1 (high).

3

Which software versions are affected by CVE-2020-15113?

etcd versions up to and including 3.3.23 and 3.4.10 are affected by CVE-2020-15113.

4

How can CVE-2020-15113 be fixed?

To fix CVE-2020-15113, update etcd to version 3.4.10 or apply the appropriate remedy provided by the vendor.

5

Are there any references for CVE-2020-15113?

Yes, you can find references for CVE-2020-15113 at the following links:<ul><li><a href='https://github.com/etcd-io/etcd/security/advisories/GHSA-chh6-ppwq-jh92'>https://github.com/etcd-io/etcd/security/advisories/GHSA-chh6-ppwq-jh92</a></li><li><a href='https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1868871'>https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1868871</a></li><li><a href='https://access.redhat.com/errata/RHSA-2021:0916'>https://access.redhat.com/errata/RHSA-2021:0916</a></li></ul>

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203