{"id":"GHSA-h8g9-6gvh-5mrc","aliases":[],"url":"https://o3.security/vulnerability/GHSA-h8g9-6gvh-5mrc","summary":"etcd vulnerable to TOCTOU of gateway endpoint authentication","details":"### Vulnerability type\nAuthentication\n\n### Workarounds\nRefer to the [gateway documentation](https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/gateway.md). The vulnerability was spotted due to unclear documentation of how the gateway handles endpoints validation. \n\n### Detail\nThe gateway only authenticates endpoints detected from DNS SRV records, and it only authenticates the detected endpoints once. Therefore, if an endpoint changes its authentication settings, the gateway will continue to assume the endpoint is still authenticated. The auditors has noted that appropriate documentation of this validation functionality plus deprecation of this misleading functionality is an acceptable path forward.\n\n### References\nFind out more on this vulnerability in the [security audit report](https://github.com/etcd-io/etcd/blob/master/security/SECURITY_AUDIT.pdf)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Contact the [etcd security committee](https://github.com/etcd-io/etcd/blob/master/security/security-release-process.md#product-security-committee-psc)","published":"2022-10-06T23:12:38Z","modified":"2022-10-06T23:12:38Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"go.etcd.io/etcd/v3","fixedVersion":"3.4.10"},{"ecosystem":"Go","name":"go.etcd.io/etcd/v3","fixedVersion":"3.3.23"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/etcd-io/etcd/security/advisories/GHSA-h8g9-6gvh-5mrc"},{"type":"PACKAGE","url":"https://github.com/etcd-io/etcd"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2022-10-06T23:12:38Z"}}