1. Archivio CVE
  2. 2024
  3. CVE-2024-32475

CVE-2024-32475

7.5 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
envoyproxy envoy >= 1.13.0 < 1.27.5 –
envoyproxy envoy >= 1.28.0 < 1.28.3 –
envoyproxy envoy >= 1.29.0 < 1.29.4 –
envoyproxy envoy 1.30.0 –
Tutte le 127 vulnerabilità di Envoyproxy Envoy

Tipo di vulnerabilità

CWE-253 Incorrect Check of Function Return Value

The product incorrectly checks a return value from a function, which prevents it from detecting errors or exceptional conditions.

Impatto sui sistemi

AmbitoImpatto
Disponibilità, Integrità Stato imprevisto, Interruzione del servizio: arresto o riavvio

Come si previene

Architettura e progettazione · Scelta del linguaggio Use a language or compiler that uses exceptions and requires the catching of those exceptions.
Sviluppo Properly check all functions which return a value.
Sviluppo When designing any function make sure you return a value or throw an exception in case of an error.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 17 CVE di tipo CWE-253, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org