An injection vulnerability was found in libvirt's virtual network driver. The network XML parser does not strip newline characters from DNS TXT record...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSlibvirt |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSlibvirt |
< 1.3.1-1ubuntu10.31+esm1→ 1.3.1-1ubuntu10.31+esm1 |
1.3.1-1ubuntu10.31+esm1 |
| Ubuntu:Pro:18.04:LTSlibvirt |
< 4.0.0-1ubuntu8.21+esm1→ 4.0.0-1ubuntu8.21+esm1 |
4.0.0-1ubuntu8.21+esm1 |
| Ubuntu:Pro:20.04:LTSlibvirt |
< 6.0.0-0ubuntu8.20+esm1→ 6.0.0-0ubuntu8.20+esm1 |
6.0.0-0ubuntu8.20+esm1 |
| Ubuntu:22.04:LTSlibvirt |
< 8.0.0-1ubuntu7.19→ 8.0.0-1ubuntu7.19 |
8.0.0-1ubuntu7.19 |
| Ubuntu:24.04:LTSlibvirt |
< 10.0.0-2ubuntu8.16→ 10.0.0-2ubuntu8.16 |
10.0.0-2ubuntu8.16 |
| Ubuntu:26.04:LTSlibvirt |
< 12.0.0-1ubuntu5.3→ 12.0.0-1ubuntu5.3 |
12.0.0-1ubuntu5.3 |
| Ubuntu:26.04:LTSlibvirt-hwe |
< 12.0.0-1ubuntu5.5→ 12.0.0-1ubuntu5.5 |
12.0.0-1ubuntu5.5 |
Original description The description as published by the source.
An injection vulnerability was found in libvirt's virtual network driver. The network XML parser does not strip newline characters from DNS TXT record value attributes and SRV record domain/target attributes. These values are written verbatim into the dnsmasq configuration file generated by the network driver, allowing a user with permission to define virtual networks to inject arbitrary dnsmasq configuration directives such as dhcp-script, leading to arbitrary command execution as root.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report bugzilla.redhat.com