Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Thu, 23 Apr 2015 17:19:25 +0200
From: Vasyl Kaigorodov <>
Subject: CVE Request: texlive: insecure use of /tmp in mktexlsr


I would like to request a CVE for the following issue:

mktexlsr script uses /tmp in an insecure way.
From the original Debian bug report:
This is how mktexlsr uses temporary files (with boring parts snipped):

# ...
while test $# -gt 0; do
   # ...
   (umask 077
   if echo "$1" >>"$treefile"; then :; else
     echo "$progname: $treefile: could not append to arg file,
goodbye." >&2
     exit 1
   # ...

This is insecure because the filename is predictable and, more 
importantly, the program doesn't fail atomically if the file already 


Vasyl Kaigorodov | Red Hat Product Security
PGP:  0xABB6E828 A7E0 87FF 5AB5 48EB 47D0 2868 217B F9FC ABB6 E828

Come talk to Red Hat Product Security at the Summit!
Red Hat Summit 2015 -

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.