Search covers the description text, product and vendor names and weakness types (also partial words).
This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.
Impact is limited: reading confidential data, modifying data.
Special conditions are required for a successful attack, which makes exploitation harder.
The impact can spread beyond the vulnerable component.
Weakness type: Improper input validation.
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
A flaw was found in KubeVirt's network annotation generator. When a tenant creates a VirtualMachineInstance with a Multus network configuration, the supplied networkName value is written verbatim into the launcher pod's v1.multus-cni.io/default-network annotation without format validation or sanitization. The only admission check rejects empty strings; no DNS-1123 format validation, JSON detection, or special character rejection is performed. When the ExternalNetResourceInjection Beta feature gate is enabled (off by default, cluster-admin only), the NAD lookup that would otherwise catch malformed names is skipped by design. A tenant with kubevirt.io:edit permissions can inject a JSON-formatted NetworkSelectionElement array specifying an arbitrary namespace, NAD name, static IP address, and MAC address. Multus on the node parses this JSON and attaches the launcher pod to the specified network attachment in any namespace, enabling cross-namespace network access and IP/MAC impersonation on network segments normally segregated from tenant workloads. The ExternalNetResourceInjection feature gate was introduced in KubeVirt v1.8.0 (first shipped in OpenShift Virtualization 4.21).
Weakness: CWE-20 – Improper input validation
| Vendor | Product | Versions |
|---|---|---|
| kubevirt | kubevirt | not specified |
| redhat | openshift virtualization | >=4 <=4.22.0 |