title: Webhook redirect in kube-apiserver
description: A security issue was discovered in Kubernetes where actors that control the responses of MutatingWebhookConfiguration or ValidatingWebhookConfiguration requests are able to redirect kube-apiserver requests to private networks of the apiserver. If that user can view kube-apiserver logs when the log level is set to 10, they can view the redirected responses and headers in the logs.
problem types: CWE-441 Unintended Proxy or Intermediary
affected:
{
product: Kubernetes
vendor: Kubernetes
versions:
lessThanOrEqual: 1.20.11, status: affected, version: unspecified, versionType: custom
lessThan: unspecified, status: unknown, version: next of 1.20.11, versionType: custom
lessThanOrEqual: 1.21.5, status: affected, version: unspecified, versionType: custom
lessThan: unspecified, status: unknown, version: next of 1.21.5, versionType: custom
lessThanOrEqual: 1.22.2, status: affected, version: unspecified, versionType: custom
lessThan: unspecified, status: unknown, version: next of 1.22.2, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 4.1
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: NONE
privilegesRequired: HIGH
scope: CHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N
version: 3.1
]