[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17428: Bug#747100: emacs23: Insecure use of temporary files in inclu
bug#17428: Bug#747100: emacs23: Insecure use of temporary files in included lisp libraries/packages
Tue, 06 May 2014 22:38:07 -0500
Notmuch/0.18~rc0 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu)
[If possible, please preserve the 747100-forwarded address in any replies.]
The following bug was recently filed against the emacs23 package, and
after some preliminary research, it appears that the security issues
mentioned may still apply to 24.3. (Though it looks like the relevant
tramp file may now be tramp-sh.el).
Steve Kemp <address@hidden> writes:
> Package: emacs23
> Version: 23.4+1-4
> Severity: important
> There are several tempfile-vulnerabilities present in the Emacs Lisp
> bundled and distributed with the emacs23 package.
> Here are four brief pointers to unsafe code:
> In the function `gnus-grab-cam-face` the file "/tmp/gnus.face.ppm" is
> used, blindly allowing the existing file to be truncated, and symlinks
> In the function `trace-call-tree` there are some horrific invocations
> of the csh, which manipulate the directory and symlinks beneath "/tmp/esrc".
> In the function `browse-url-mosaic` the file "/tmp/Mosaic.$PID" is blindly
> overwritten. Suspect this whole function is obsolete though :)
> The function `tramp-uudecode`, a fallback if a real uudecoding binary
> is not present, blindly uses "/tmp/tramp.$PID", truncating and removing
> the file.
> I suspect that each should receive a CVE identifier.
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
- bug#17428: Bug#747100: emacs23: Insecure use of temporary files in included lisp libraries/packages,
Rob Browning <=