1. Archivio CVE
  2. 2025
  3. CVE-2025-46821

CVE-2025-46821

5.3 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N 5.3 – Media

Descrizione

Envoy is a cloud-native edge/middle/service proxy. Prior to versions 1.34.1, 1.33.3, 1.32.6, and 1.31.8, Envoy's URI template matcher incorrectly excludes the `*` character from a set of valid characters in the URI path. As a result URI path containing the `*` character will not match a URI template expressions. This can result in bypass of RBAC rules when configured using the `uri_template` permissions. This vulnerability is fixed in Envoy versions v1.34.1, v1.33.3, v1.32.6, v1.31.8. As a workaround, configure additional RBAC permissions using `url_path` with `safe_regex` expression.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
envoyproxy envoy < 1.31.8 –
envoyproxy envoy >= 1.32.0 < 1.32.6 –
envoyproxy envoy >= 1.33.0 < 1.33.3 –
envoyproxy envoy 1.34.0 –
Tutte le 127 vulnerabilità di Envoyproxy Envoy

Tipo di vulnerabilità

CWE-186 Overly Restrictive Regular Expression

A regular expression is overly restrictive in a way that does not match all intended values.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione, Dipende dal contesto

Come si previene

Sviluppo · Refactoring Regular expressions can become error prone when defining a complex language even for those experienced in writing grammars. Determine if several smaller regular expressions simplify one large regular expression. Also, subject your regular expression to thorough testing techniques such as equivalence partitioning, boundary value analysis, and robustness. After testing and a reasonable confidence level is achieved, a regular expression may not be foolproof. If an exploit is allowed to slip through, then record the exploit and refactor your regular expression.

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

Tutte le 4 CVE di tipo CWE-186, con andamento e prevenzione

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