CVE-2024-4418
Publication date 5 May 2024
Last updated 24 July 2024
Ubuntu priority
A race condition leading to a stack use-after-free flaw was found in libvirt. Due to a bad assumption in the virNetClientIOEventLoop() method, the `data` pointer to a stack-allocated virNetClientIOEventData structure ended up being used in the virNetClientIOEventFD callback while the data pointer's stack frame was concurrently being "freed" when returning from virNetClientIOEventLoop(). The 'virtproxyd' daemon can be used to trigger requests. If libvirt is configured with fine-grained access control, this issue, in theory, allows a user to escape their otherwise limited access. This flaw allows a local, unprivileged user to access virtproxyd without authenticating. Remote users would need to authenticate before they could access it.
Status
Package | Ubuntu Release | Status |
---|---|---|
libvirt | 24.10 oracular |
Fixed 10.0.0-2ubuntu8.2
|
24.04 LTS noble |
Fixed 10.0.0-2ubuntu8.2
|
|
22.04 LTS jammy |
Not affected
|
|
20.04 LTS focal |
Not affected
|
|
18.04 LTS bionic |
Not affected
|
|
16.04 LTS xenial |
Not affected
|
|
14.04 LTS trusty |
Not affected
|
Notes
mdeslaur
This issue is probably introduced by: https://gitlab.com/libvirt/libvirt/-/commit/7cb03e6a28e465c49f0cabe8fe2e7d21edb5aadf so only noble and higher are affected.
References
Related Ubuntu Security Notices (USN)
- USN-6763-1
- libvirt vulnerability
- 7 May 2024