]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virlog: determine the hostname on startup CVE-2018-6764
authorLubomir Rintel <lkundrak@v3.sk>
Sat, 27 Jan 2018 22:43:58 +0000 (23:43 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 7 Feb 2018 13:12:17 +0000 (13:12 +0000)
commit759b4d1b0fe5f4d84d98b99153dfa7ac289dd167
treefed5c32c162c9c2c7e4421732fc77c9a1f959674
parent818a29e0c7d6840e87e9ca6019b9f0bc1983566e
virlog: determine the hostname on startup CVE-2018-6764

At later point it might not be possible or even safe to use getaddrinfo(). It
can in turn result in a load of NSS module.

Notably, on a LXC container startup we may find ourselves with the guest
filesystem already having replaced the host one. Loading a NSS module
from the guest tree would allow a malicous guest to escape the
confinement of its container environment because libvirt will not yet
have locked it down.
src/util/virlog.c