CVE-2020-15113

Aliases:GHSA-chh6-ppwq-jh92BIT-etcd-2020-15113
Advisory lineage Upstream: 0 Downstream: 5
Modified
Published: 05 Aug 2020, 19:30
Last modified:04 Aug 2024, 13:08

Vulnerability Summary

Overall Risk (default)
medium
28/100
CVSS Score
7.1 HIGH
v3.1 (nvd)
EPSS Score
0.02% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

05 Aug 2020, 19:30
Published
Vulnerability first disclosed
04 Aug 2024, 13:08
Last Modified
Vulnerability information updated

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

CVSS Metrics

  • v3.1MEDIUMScore: 5.7CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
  • v3.1HIGHScore: 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • v2.0LOWScore: 3.6AV:L/AC:L/Au:N/C:P/I:P/A:N

EPSS Trends

Current EPSS score: 0.02% Percentile: 7%

Techniques & Countermeasures

  • CWE-281Improper Preservation of Permissions

    The product does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended.

Affected Systems

  • etcd-ioetcd

    < 3.3.23 | < 3.4.10

  • etcdetcd

    < 3.3.23 | ≥ 3.4.0, < 3.4.10

  • fedoraprojectfedora

    32

  • github.com/etcd-ioetcd

    ≥ 3.4.0-rc.0, < 3.4.10 | < 3.3.23

References (6)