Baja

Steeltoe Leaks Basic Auth Credentials to Logs After Fetch Registry Error

  • Publicada: 17.07.2024
  • Actualizado: 11.10.2026 11:23

Summary

When utilizing multiple Eureka server service URLs with basic auth and encountering an issue with fetching the service registry, an error is logged with the Eureka server service URLs but only the first URL is masked.

Details

Package: Steeltoe.Discovery.Eureka Package version: 3.2.1 Branch: "release/3.2" File name: DiscoveryClient.cs Line number: 325 Code in question: _logger.LogError(e, "FetchRegistry Failed for Eureka service urls: {EurekaServerServiceUrls}", new Uri(ClientConfig.EurekaServerServiceUrls).ToMaskedString());

Error message in logs: FetchRegistry Failed for Eureka service urls: https://****:****@eureka1.com:443/eureka,https://user:password@eureka2.com:443/eureka

I thought new Uri(clientOptions.EurekaServerServiceUrls) would throw a UriFormatException since there are multiple URLs but my logs are showing two URLs regardless.

PoC

  1. Set Eureka config with multiple server URLs with basic auth
  2. Apologies for not being more descriptive for this step, but I believe we would just need to trigger an exception in FetchFullRegistryAsync.
  3. Check the logs and should see the error

Impact

Vulnerability: Credential leakage in the logs Who does it impact?: Users who are using peer awareness with Spring Eureka

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
.NET (NuGet) Steeltoe.Discovery.ClientAutofac <= 2.5.5 sin corrección
.NET (NuGet) Steeltoe.Discovery.ClientCore todas las versiones sin corrección
.NET (NuGet) Steeltoe.Discovery.Eureka < 3.2.8 3.2.8
.NET (NuGet) Steeltoe.Discovery.EurekaBase <= 2.5.5 sin corrección

Referencias

Puntuación CVSS 2.5/10
Vector CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Debilidad (CWE)
CWE-532
Plataforma
.NET (NuGet)
Paquete
Steeltoe.Discovery.ClientAutofac, Steeltoe.Discovery.ClientCore, Steeltoe.Discovery.Eureka
Publicada
17.07.2024
Actualizado
11.10.2026 11:23

Fuentes y licencias

OSV / GitHub Advisory Database - GHSA-vmcp-66r5-3pcp - CC BY 4.0

Historial de vulnerabilidades: Steeltoe.Discovery.Eureka

Todas las vulnerabilidades publicadas de este paquete (.NET (NuGet)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Entradas en total
3
Primera → última
07.2024 09.2026
Sin corrección
0
Explotada en ataques
0

Distribución por gravedad

  • Alta 2
  • Baja 1

Divulgaciones por año

  1. 2024: 1
  2. 2025: 0
  3. 2026: 2
  1. Alta · 7.5 CVE-2026-50196 >= 4.0.0, < 4.2.0, < 3.4.0 4.2.0, 3.4.0
  2. Steeltoe Leaks Basic Auth Credentials to Logs After Fetch Registry Error esta entrada
    Baja · 2.5 CVE-2024-40636 < 3.2.8 3.2.8

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.