Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-chh6-ppwq-jh92: Improper Preservation of Permissions in etcd

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:

ghsa
#vulnerability#git#pdf#ssl

Skip to content

    • Actions

      Automate any workflow

    • Packages

      Host and manage packages

    • Security

      Find and fix vulnerabilities

    • Codespaces

      Instant dev environments

    • Copilot

      Write better code with AI

    • Code review

      Manage code changes

    • Issues

      Plan and track work

    • Discussions

      Collaborate outside of code

    • GitHub Sponsors

      Fund open source developers

*   The ReadME Project
    
    GitHub community articles
  • Pricing

Provide feedback

Saved searches****Use saved searches to filter your results more quickly

Sign up

  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. CVE-2020-15113

Improper Preservation of Permissions in etcd

Moderate severity GitHub Reviewed Published Aug 5, 2020 in etcd-io/etcd • Updated Jan 30, 2024

Package

gomod github.com/etcd-io/etcd (Go)

Affected versions

>= 3.4.0-rc.0, < 3.4.10

< 3.3.23

Patched versions

3.4.10

3.3.23

Description

Published to the GitHub Advisory Database

Jan 30, 2024

Last updated

Jan 30, 2024

Related news

Ubuntu Security Notice USN-5628-1

Ubuntu Security Notice 5628-1 - It was discovered that etcd incorrectly handled certain specially crafted WAL files. An attacker could possibly use this issue to cause a denial of service. It was discovered that etcd incorrectly handled directory permissions when trying to create a directory that exists already. An attacker could possibly use this issue to obtain sensitive information. It was discovered that etcd incorrectly handled endpoint setup. An attacker could possibly use this issue to cause a denial of service.

CVE-2020-15113: Directories created via os.MkdirAll are not checked for permissions

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