Skip to content
OpenAdvisories
Medium · 5.7 CVE-2020-15113 BIT-etcd-2020-15113EUVD-2024-0332GHSA-chh6-ppwq-jh92

Improper Preservation of Permissions in etcd

Published Aug 5, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

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

Affected products

VendorProductAffectedFixed
etcd-io etcd < 3.3.23, < 3.4.10 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 etcd 3.3.25+dfsg-5 —
Debian 13 etcd 3.3.25+dfsg-5 —
Debian 12 etcd 3.3.25+dfsg-5 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 etcd No fix yet —
Ubuntu 25.10 etcd No fix yet —
Ubuntu 20.04 LTS etcd 3.2.26+dfsg-6ubuntu0.1 USN-5628-1
Ubuntu 16.04 LTS etcd No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS etcd No fix yet —
Ubuntu Pro 24.04 LTS etcd No fix yet —
Ubuntu Pro 22.04 LTS etcd No fix yet —
Ubuntu Pro 18.04 LTS etcd 3.2.17+dfsg-1ubuntu0.1~esm1 USN-5628-2
ReleasePackageFixed inAdvisory
Red Hat OpenStack 16 etcd 3.3.23-1.el8ost RHSA-2021:0916

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) etcd 3.5.0-3 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/etcd-io/etcd >= 3.4.0-rc.0, < 3.4.10 3.4.10 GHSA-chh6-ppwq-jh92
Go github.com/etcd-io/etcd < 3.3.23 3.3.23 GHSA-chh6-ppwq-jh92

Advisories 4

References