GHSA-6f2p-2qg2-qqchLowCVSS 3.8
KubeVirt downward metrics virtio-serial server vulnerable to unbounded memory consumption
🔗 CVE IDs covered (1)
📋 Description
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.
🎯 Affected products1
- go/github.com/kubevirt/kubevirt:>= 1.1.0-alpha.0, <= 1.10.0-rc.0
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-13322
- https://access.redhat.com/security/cve/CVE-2026-13322
- https://bugzilla.redhat.com/show_bug.cgi?id=2492681
- https://github.com/kubevirt/kubevirt/blob/e63503d2f3a166f79f0891f8e1c3450eb39f88ac/pkg/downwardmetrics/virtio-serial/server.go#L240-L251
- https://github.com/advisories/GHSA-6f2p-2qg2-qqch