Lima
Lima: An arbitrary user in a QEMU VM could gain the root privilege in the VM via the guest agent socket
Lima launches Linux virtual machines, typically on macOS, for running containerd. Prior to 2.1.3, on an instance of Lima running with the qemu driver, an arbitrary user in the VM could access /run/lima-guestagent.sock when the guest agent is enabled, which could result in running arbitrary commands with root privileges in the VM because the guest agent socket provides tunneling for arbitrary addresses, including Unix socket addresses for privileged daemons like D-Bus. This issue is fixed in version 2.1.3.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.2high · scored by CNA · CWE-276
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
lima-vm lima
- < 2.1.3
Fixed in 2.1.3
Mitigation
Upgrade lima to 2.1.3 or later.
References
- Vendor advisory github.com/lima-vm/lima/security/advisories/GH…
- Patch github.com/lima-vm/lima/commit/8a45892378d22f4…
- Patch github.com/lima-vm/lima/commit/b08cae8a670cf91…
1 more
- Release notes github.com/lima-vm/lima/releases/tag/v2.1.3
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.