VDB
Sign up
MEDIUM6.8

GHSA-w7r3-mgwf-4mqq

Kubernetes C# client accepts certificates from any CA without properly verifying the trust chain

Quick fix

GHSA-w7r3-mgwf-4mqq — KubernetesClient: upgrade to the fixed version with the command below.

dotnet add package KubernetesClient --version 17.0.14

Details

A vulnerability exists in the Kubernetes C# client where the certificate validation logic accepts properly constructed certificates from any Certificate Authority (CA) without properly verifying the trust chain. This flaw allows a malicious actor to present a forged certificate and potentially intercept or manipulate communication with the Kubernetes API server, leading to possible man-in-the-middle attacks and API impersonation.

Are you affected?

Enter the version of the package you're using.

Affected packages

NuGet/KubernetesClient
Introduced in: 0Fixed in: 17.0.14
Fixdotnet add package KubernetesClient --version 17.0.14

References