Skip to content

Etcd Gateway TLS endpoint validation only confirms TCP reachability

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

Package

gomod go.etcd.io/etcd/v3 (Go)

Affected versions

>= 3.4.0-rc.0, <= 3.4.9
< 3.3.23

Patched versions

3.4.10
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:

References

@spzala spzala published to etcd-io/etcd Aug 5, 2020
Published to the GitHub Advisory Database Feb 3, 2024
Reviewed Feb 3, 2024
Last updated Jul 8, 2024

Severity

Moderate

Weaknesses

No CWEs

CVE ID

No known CVE

GHSA ID

GHSA-j86v-2vjr-fg8f

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.