libxfont: Open files with O_NOFOLLOW (CVE-2017-16611)
A non-privileged X client can instruct X server running under root to
open any file by creating own directory with “fonts.dir”,
“fonts.alias” or any font file being a symbolic link to any other file
in the system. X server will then open it. This can be issue
with special files such as /dev/watchdog.
Fixed In Version:
libXfont 1.5.4, libXfont2 2.0.3
References:
http://openwall.com/lists/oss-security/2017/11/28/7
Patch:
(from redmine: issue id 8223, created on 2017-12-01, closed on 2018-01-12)
- Relations:
- child #8224 (closed)
- child #8225 (closed)
- child #8226 (closed)