Affected by GO-2022-0617
and 8 other vulnerabilities
GO-2022-0617 : WITHDRAWN: Potential proxy IP restriction bypass in Kubernetes in k8s.io/kubernetes
GO-2022-0983 : kubectl ANSI escape characters not filtered in k8s.io/kubernetes
GO-2023-2341 : Kubernetes Improper Input Validation vulnerability in k8s.io/kubernetes
GO-2024-2994 : Kubernetes sets incorrect permissions on Windows containers logs in k8s.io/kubernetes
GO-2024-3277 : Kubernetes Nil pointer dereference in KCM after v1 HPA patch request in k8s.io/kubernetes
GO-2025-3465 : Node Denial of Service via kubelet Checkpoint API in k8s.io/kubernetes
GO-2025-3521 : Kubernetes GitRepo Volume Inadvertent Local Repository Access in k8s.io/kubernetes
GO-2025-3522 : Kubernetes allows Command Injection affecting Windows nodes via nodes/*/logs/query API in k8s.io/kubernetes
GO-2025-3547 : Kubernetes kube-apiserver Vulnerable to Race Condition in k8s.io/kubernetes
Discover Packages
k8s.io/kubernetes
pkg
api
service
package
Version:
v1.25.0-rc.0
Opens a new window with list of versions in this module.
Published: Aug 9, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 187
Opens a new window with list of known importers.
Documentation
Documentation
¶
GetLoadBalancerSourceRanges first try to parse and verify LoadBalancerSourceRanges field from a service.
If the field is not specified, turn to parse and verify the AnnotationLoadBalancerSourceRangesKey annotation from a service,
extracting the source ranges to allow, and if not present returns a default (allow-all) value.
IsAllowAll checks whether the utilnet.IPNet allows traffic from 0.0.0.0/0
NeedsHealthCheck checks if service needs health check.
RequestsOnlyLocalTraffic checks if service requests OnlyLocal traffic.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.