github.com/etcd-io/etcd does not properly perform permission checks. The function os.MkdirAll
that creates the directory containing automatically generated self-signed certificates for TLS connections with clients is insecure and does not perform any permission checks, potentially overwriting existing folders.