CVE-2024-40636

Medium

Description

Steeltoe is an open source project that provides a collection of libraries that helps users build production-grade cloud-native applications using externalized configuration, service discovery, distributed tracing, application management, and more. 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. The code in question is `_logger.LogError(e, "FetchRegistry Failed for Eureka service urls: {EurekaServerServiceUrls}", new Uri(ClientConfig.EurekaServerServiceUrls).ToMaskedString());` in the `DiscoveryClient.cs` file which may leak credentials into logs. This issue has been addressed in version 3.2.8 of the Steeltoe.Discovery.Eureka nuget package.

SeverityMedium
CVSS5.3
Exploit probability—
ProductSteeltoe.discovery.eureka
PublishedJul 17, 2024
First seenJul 17, 2024
Weakness typeCWE-532CWE-532

How to fix

Update
  • Steeltoe.Discovery.Eureka3.2.8 or later

Affected products

ProductAffected versionsFixed in
Steeltoe.Discovery.EurekaNuGetv < 3.2.83.2.8
Steeltoe.Discovery.EurekaBaseNuGetv ≤ 2.5.5—
Steeltoe.Discovery.ClientCoreNuGetNo range specified—
Steeltoe.Discovery.ClientAutofacNuGetv ≤ 2.5.5—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.