A flaw was found in libvirt. A local attacker, specifically a process running as the confined `swtpm` user, could exploit a symlink-following vulnerab...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| 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.
A flaw was found in libvirt. A local attacker, specifically a process running as the confined swtpm user, could exploit a symlink-following vulnerability in the virFileChownFiles() function. By planting a symbolic link within the swtpm state directory, the attacker could trick the root-level libvirt daemon into changing the ownership of an arbitrary file to the swtpm user. This allows for privilege escalation from the swtpm sandbox to root-level file ownership control.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report bugzilla.redhat.com
- report access.redhat.com