Improper Authorization Affecting etcd package, versions <0:3.3.23-1.el8ost


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-ETCD-4379117
  • published26 Mar 2023
  • disclosed5 Aug 2020

Introduced: 5 Aug 2020

CVE-2020-15113  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade RHEL:8 etcd to version 0:3.3.23-1.el8ost or higher.
This issue was patched in RHSA-2021:0916.

NVD Description

Note: Versions mentioned in the description apply only to the upstream etcd package and not the etcd package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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 Base Scores

version 3.1