A flaw was found in KubeVirt's downward metrics virtio-serial server. The server reads guest requests using textproto.Reader.ReadLine(), which buffers input indefinitely until a newline character is received, with no length limit or read deadline. A user with access to a VM guest that has the downward metrics virtio-serial device configured can write a continuous byte stream to the device, causing unbounded memory allocation in the virt-handler process until it is OOM-killed.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 2
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Redhat Openshift_Virtualization
cpe:2.3:a:redhat:openshift_virtualization:*:*:*:*:*:*:*:*
|
4
|
<= 4.22.0
|
|
Kubevirt Kubevirt
cpe:2.3:a:kubevirt:kubevirt:-:*:*:*:*:kubernetes:*:*
|
— | — |