GitHub Advisoryadvisory · Go

GHSA-j86v-2vjr-fg8f Etcd Gateway TLS endpoint validation only confirms TCP reachability

MEDIUM Published 2024-02-03 Modified 2024-07-08 Official page ↗
Ecosystem
Go
Packages
go.etcd.io/etcd/v3
Severity
Moderate
Reviewed
2024-02-03

Affected packages

• Go go.etcd.io/etcd/v3: >= 3.4.0-rc.0, < 3.4.10 → fixed in 3.4.10 • Go go.etcd.io/etcd/v3: < 3.3.23 → fixed in 3.3.23

Description

Vulnerability type Cryptography Workarounds Refer to the gateway documentation. The vulnerability was spotted due to unclear documentation of how the gateway handles endpoints validation. Detail Secure endpoint validation is performed by the etcd gateway start command when the --discovery-srv flag is enabled. However, as currently implemented, it only validates TCP reachability, effectively allowing connections to an endpoint that doesn't accept TLS connections through the HTTPS URL. The auditors has noted that appropriate documentation of this validation functionality plus deprecation of this misleading functionality is an acceptable path forward. 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: • Contact the etcd security committee

References