Affected by GO-2022-1000
and 2 other vulnerabilities
GO-2022-1000: KubeVirt vulnerable to arbitrary file read on host in kubevirt.io/kubevirt
GO-2024-2688: KubeVirt NULL pointer dereference flaw in kubevirt.io/kubevirt
GO-2024-2816: kubevirt allows a local attacker to execute arbitrary code via a crafted command in kubevirt.io/kubevirt
package
Version:
v0.44.0
Opens a new window with list of versions in this module.
Published: Aug 2, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CPU struct {
ID uint32 `xml:"id,attr"`
SocketID uint32 `xml:"socket_id,attr"`
DieID uint32 `xml:"die_id,attr"`
CoreID uint32 `xml:"core_id,attr"`
Siblings string `xml:"siblings,attr"`
}
type CPUs struct {
Num int `xml:"num,attr"`
CPU []CPU `xml:"cpu"`
}
type Capabilities struct {
XMLName xml.Name `xml:"capabilities"`
Host Host `xml:"host"`
}
type Cell struct {
ID uint32 `xml:"id,attr"`
Memory Memory `xml:"memory"`
Pages []Pages `xml:"pages"`
Distances Distances `xml:"distances"`
Cpus CPUs `xml:"cpus"`
}
type Cells struct {
Num uint32 `xml:"num,attr"`
Cell []Cell `xml:"cell"`
}
type Counter struct {
Name string `xml:"name,attr"`
Frequency int64 `xml:"frequency,attr"`
Scaling yesnobool `xml:"scaling,attr"`
}
type Distances struct {
Sibling []Sibling `xml:"sibling"`
}
type HostCPU struct {
Arch string `xml:"arch"`
Model string `xml:"model"`
Vendor string `xml:"vendor"`
Counter []Counter `xml:"counter"`
}
type Memory struct {
Amount uint64 `xml:",chardata"`
Unit string `xml:"unit,attr"`
}
type Pages struct {
Count uint64 `xml:",chardata"`
Unit string `xml:"unit,attr"`
Size uint32 `xml:"size,attr"`
}
type Sibling struct {
ID uint32 `xml:"id,attr"`
Value uint64 `xml:"value,attr"`
}
type Topology struct {
Cells Cells `xml:"cells"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.