Steeltoe.Discovery.Consul: malformed 'secure' metadata aborts service instance lookup (DoS)
Summary
Steeltoe's Consul discovery client parses the secure metadata field on each registered service instance using bool.Parse, which throws on any value other than true or false. A single service instance registered with a malformed secure value (for example yes or 1) aborts construction of the entire instance list for that service, making the service undiscoverable. When GetAllInstancesAsync is used, one malformed instance in any service can abort enumeration across all services.
This is the same "one malformed field aborts the whole batch" availability class as CVE-2026-50196, but affecting the Consul discovery client.
Impact
Any principal that can register a service in the Consul catalog can trigger a service-discovery outage for all Steeltoe applications resolving that service. The outage affects all instances of the targeted service — not just the malformed one — and persists until the offending registration is removed.
Affected configuration
- Application uses
ConsulDiscoveryClient(any deployment). - The Consul catalog contains at least one service instance with a
securemetadata value that is nottrueorfalse. - Mixed-platform environments where non-.NET clients register services with non-standard metadata values are more likely to encounter this condition.
Mitigations
If an immediate upgrade is not possible:
- Audit the Consul catalog for service registrations with non-standard
securemetadata values. - Restrict write access to the Consul service registration API to trusted services.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| .NET (NuGet) | Steeltoe.Discovery.Consul | >= 4.0.0, < 4.3.0 | 4.3.0 |
Verweise
- https://github.com/SteeltoeOSS/security-advisories/security/advisories/GHSA-67c9-f6v2-qv86
- https://nvd.nist.gov/vuln/detail/CVE-2026-81516
- https://github.com/SteeltoeOSS/Steeltoe/commit/028569c4f4f0e9e393e3c22a4fa5d07987dd8673
- https://github.com/SteeltoeOSS/Steeltoe/releases/tag/4.3.0
- https://github.com/SteeltoeOSS/security-advisories
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Schwäche (CWE)
CWE-755- Plattform
- .NET (NuGet)
- Paket
Steeltoe.Discovery.Consul- Veröffentlicht
- 17.09.2026
- Aktualisiert
- 11.10.2026 11:23
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-67c9-f6v2-qv86 - CC BY 4.0
Schwachstellenhistorie: Steeltoe.Discovery.Consul
Alle veröffentlichten Schwachstellen dieses Pakets (.NET (NuGet)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.