[3.5] 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 8225, created on 2017-12-01, closed on 2018-01-12)
- Relations:
- parent #8223 (closed)
- Changesets:
- Revision ed6b62fc on 2018-01-05T12:58:14Z:
main/libxfont: security fix (CVE-2017-16611)
Fixes #8225