[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#390349: Bug#388399: FTBFS problems on alpha, mips[el]: Please help debugging



Steve Langasek <vorlon@debian.org> wrote:

> The old solution was a security problem because the directories were
> world-writable -- /var/mail is not, the directory is only writable by the
> 'mail' group -- which almost certainly makes symlink attacks possible,
> looking at the source of mktexmf, as well as cache poisoning attacks.
>
> The new solution is only better if the cache is written in the home
> directory; if it's written to /tmp/texfonts for any reason, the security is
> just as bad.

It might be a bit better, since filling up /var is less severe than
filling up /tmp (unless both are on the same filesystem...).  The
symlink attacks are in fact completely hypothetical, since the things
you can do in a Metafont, TeX pk of TeX font metric file are very
limited, and the format ist strict.

What we have done is to alleviate this potential problem for most
systems and users.  For users without a writable home directory, it's
nearly as bad as it has always been (and still is in sarge).  But since
no one has ever regarded that as a relevant security problem, I don't
see why it should now be one.

Regards, Frank
-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Reply to: