Affected by GO-2022-0617
and 13 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-1628 : Kubernetes vulnerable to path traversal in k8s.io/kubernetes
GO-2023-1629 : Kubernetes vulnerable to validation bypass in k8s.io/kubernetes
GO-2023-1864 : Kubelet vulnerable to bypass of seccomp profile enforcement in k8s.io/kubernetes
GO-2023-1891 : kube-apiserver vulnerable to policy bypass in k8s.io/kubernetes
GO-2023-1892 : Kubernetes mountable secrets policy bypass 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
kubelet
util
ioutils
package
Version:
v1.22.6
Opens a new window with list of versions in this module.
Published: Jan 19, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 66
Opens a new window with list of known importers.
Documentation
Documentation
¶
LimitWriter is a copy of the standard library ioutils.LimitReader,
applied to the writer interface.
LimitWriter returns a Writer that writes to w
but stops with EOF after n bytes.
The underlying implementation is a *LimitedWriter.
WriteCloserWrapper returns a writeCloserWrapper.
A LimitedWriter writes to W but limits the amount of
data returned to just N bytes. Each call to Write
updates N to reflect the new amount remaining.
Write returns EOF when N <= 0 or when the underlying W returns EOF.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.