Affected by GO-2022-0617
and 9 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
Discover Packages
k8s.io/kubernetes
cmd
kubeadm
app
util
users
package
Version:
v1.22.14
Opens a new window with list of versions in this module.
Published: Sep 14, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
func RemoveUsersAndGroups() error
RemoveUsersAndGroups is a public wrapper around removeUsersAndGroupsImpl with
default system file paths.
UpdatePathOwner recursively updates the owners of a directory.
It is equivalent to calling `chown -R uid:gid /path/to/dir`.
UpdatePathOwnerAndPermissions updates the owner and permissions of the given path.
If the path is a directory it is not recursively updated.
EntryMap holds a map of user or group entries.
ID returns the ID for an entry based on the entry name.
In case of a user entry it returns the user UID.
In case of a group entry it returns the group GID.
It returns nil if no such entry exists.
String converts an EntryMap object to a readable string.
UsersAndGroups is a structure that holds entry maps of users and groups.
It is returned by AddUsersAndGroups.
Is a public wrapper around addUsersAndGroupsImpl with default system file paths.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.