CVE-2020-15113 Detail
Current 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).
Analysis 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).
Severity
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].
Weakness Enumeration
CWE-ID | CWE Name | Source |
---|---|---|
CWE-281 | Improper Preservation of Permissions | NIST GitHub, Inc. |
Change History
1 change records found show changes
Initial Analysis 8/07/2020 5:8:01 PM
Action | Type | Old Value | New Value |
---|---|---|---|
Added | CPE Configuration |
OR *cpe:2.3:a:etcd:etcd:*:*:*:*:*:*:*:* versions up to (excluding) 3.3.23 *cpe:2.3:a:etcd:etcd:*:*:*:*:*:*:*:* versions from (including) 3.4.0 up to (excluding) 3.4.10 |
|
Added | CVSS V2 |
NIST (AV:L/AC:L/Au:N/C:P/I:P/A:N) |
|
Added | CVSS V3.1 |
NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
|
Added | CWE |
NIST CWE-281 |
|
Changed | Reference Type |
https://github.com/etcd-io/etcd/security/advisories/GHSA-chh6-ppwq-jh92 No Types Assigned |
https://github.com/etcd-io/etcd/security/advisories/GHSA-chh6-ppwq-jh92 Third Party Advisory |
Quick Info
CVE Dictionary Entry:
CVE-2020-15113
NVD Published Date:
08/05/2020
NVD Last Modified:
08/07/2020
Source:
MITRE