CVE-2024-40636SteeltoeOSS security-advisories
Medium 5.3 No auth needed
Follow: this CVE · SteeltoeOSS · SteeltoeOSS security-advisories We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 43
- Auth required
- No
- Published
- Jul 17, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-532
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for security-advisories.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| NuGet | Steeltoe.Discovery.ClientAutofac |
≤ 2.5.5 |
no fixed version | — |
| NuGet | Steeltoe.Discovery.ClientCore |
all |
no fixed version | — |
| NuGet | Steeltoe.Discovery.Eureka |
< 3.2.8 |
3.2.8 |
dotnet add package Steeltoe.Discovery.Eureka --version 3.2.8 |
| NuGet | Steeltoe.Discovery.EurekaBase |
≤ 2.5.5 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-vmcp-66r5-3pcp). Check the version in your lockfile before upgrading.
Affected products
- SteeltoeOSS · security-advisories
- steeltoeoss · discovery
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.