CVE-2024-32475

Envoy RELEASE_ASSERT using auto_sni with :authority header > 255 bytes

State
Published
Severity
7.5 High
Published
Apr 18, 2024
Updated
Aug 2, 2024
Reserved
Apr 12, 2024

Read the record on cve.org

Description

Envoy is a cloud-native, open source edge and service proxy. When an upstream TLS cluster is used with `auto_sni` enabled, a request containing a `host`/`:authority` header longer than 255 characters triggers an abnormal termination of Envoy process. Envoy does not gracefully handle an error when setting SNI for outbound TLS connection. The error can occur when Envoy attempts to use the `host`/`:authority` header value longer than 255 characters as SNI for outbound TLS connection. SNI length is limited to 255 characters per the standard. Envoy always expects this operation to succeed and abnormally aborts the process when it fails. This vulnerability is fixed in 1.30.1, 1.29.4, 1.28.3, and 1.27.5.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-253 Incorrect Check of Function Return Value
  • CWE-617 Reachable Assertion

Affected Products

ProductVersions
envoyenvoyproxy
  • >= 1.30.0, < 11.30.1Affected
  • >= 1.29.0, < 1.29.4Affected
  • >= 1.28.0, < 1.28.3Affected
  • >= 1.13.0, < 1.27.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.