From: Reiner Steib <reinersteib+gmane@imap.cc>
To: emacs-devel@gnu.org
Subject: Automatic display of images (was: Security advisory?)
Date: Sat, 23 Jun 2007 18:44:25 +0200 [thread overview]
Message-ID: <v9r6o2y61i.fsf_-_@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: 6bejk3wwcq.fsf@fencepost.gnu.org
On Fri, Jun 22 2007, Glenn Morris wrote:
> I think they call it a "denial of service" because it occurred in the
> VM mail reader (not part of Emacs, of course), when viewing a spam
> mail with a malformed image. So someone could email you an image that
> would crash Emacs. I don't know if gnus, rmail, or mh-e automatically
> display images; I suspect not.
Gnus does display images automatically. But we have been through this
discussion before in February in the thread "Image mode"...
,----[ http://article.gmane.org/gmane.emacs.devel/66004 ]
| From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
| Subject: Re: Image mode
| Newsgroups: gmane.emacs.devel
| Date: 2007-02-06 10:53:50 GMT
|
| Richard Stallman <rms <at> gnu.org> writes:
|
| > In contrast, if someone sends me a JPEG image in an email, Gnus
| > will happily show it to me without asking (at least with the
| > settings I'm using). So where's the protection in that case?
| >
| > Should we consider that a bug in Gnus?
| > (I don't know what the answer is.)
|
| Switching image display off in a mail reader is like switching it off
| in a web browser. Does Firefox query the user before displaying an
| image? "Warning! The web page you're browsing contains an image!
| Image libraries are sometimes prone to buffer overflows! Do you
| really wish to expose yourself to this danger!!1!?"
|
| Warning users about something that's almost certainly not dangerous is
| a huge security risk in itself, because you're inuring the users to
| warnings. The user will answer "Yeah, whatever" when being bothered
| with these things, and then when Emacs asks the user "Are you sure you
| wish to do an rm -rf?" (or whatever the genuinely dangerous thing it
| is), they won't bother to read the warning.
`----
Richard replied:
,----
| From: Richard Stallman <rms <at> gnu.org>
| Subject: Re: Image mode
| Newsgroups: gmane.emacs.devel
| Date: 2007-02-06 23:16:17 GMT
|
| Switching image display off in a mail reader is like switching it off
| in a web browser. Does Firefox query the user before displaying an
| image? "Warning! The web page you're browsing contains an image!
| Image libraries are sometimes prone to buffer overflows! Do you
| really wish to expose yourself to this danger!!1!?"
|
| If this argument is valid for Gnus, it seems just as valid for
| visiting a file directly with Emacs.
|
| To the extent that image libraries have bugs, there will be some level
| of danger in viewing images with Emacs. That danger will obtain
| regardless of whether the image files have expected image extensions.
| It doesn't go away just because the JPG is in a file called foo.jpg.
|
| Lars' argument seems to show that we just have to live with it.
`----
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next prev parent reply other threads:[~2007-06-23 16:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-22 20:25 Security advisory? Chong Yidong
2007-06-22 20:46 ` Glenn Morris
2007-06-23 16:44 ` Reiner Steib [this message]
2007-06-22 22:17 ` Thien-Thi Nguyen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v9r6o2y61i.fsf_-_@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.