all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrew Cohen <acohen@ust.hk>
To: emacs-devel@gnu.org
Subject: Re: Reproducers for recent Emacs security issues
Date: Mon, 15 Apr 2024 21:42:00 +0800	[thread overview]
Message-ID: <877cgyn3o7.fsf@ust.hk> (raw)
In-Reply-To: 87wmoy6dkl.fsf@localhost

>>>>> "IR" == Ihor Radchenko <yantar92@posteo.net> writes:

    IR> Max Nikulin <manikulin@gmail.com> writes:

[...]

    >> 
    >> I expect that message body should not affect attachment preview.

    IR> This sounds like gnus bug (or feature?).  I can also reproduce
    IR> it.  Feel free to submit it as a separate bug report.

The culprit here is gnus-article-emulate-mime (which defaults to t):

"If non-nil, use MIME emulation for uuencode and the like.

This means that Gnus will search message bodies for text that look
like uuencoded bits, yEncoded bits, and so on, and present that using
the normal Gnus MIME machinery."

Even though this sample message is mime, with this variable non-nil the
message bodies are searched as the doc describes. But the parsing fails
on this message, and ends up with some rather confused "parts": in
particular one which contains just the URL, but for some reason calls
org to dispaly itself.

Given that these alternative encodings are ancient and probably no
longer relevant, I suggest we change the default to nil. 





  reply	other threads:[~2024-04-15 13:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-14  3:23 Reproducers for recent Emacs security issues Sean Whitton
2024-04-14  4:41 ` Max Nikulin
2024-04-15  9:27   ` Sean Whitton
2024-04-15  9:32     ` Ihor Radchenko
2024-04-15  9:46       ` Sean Whitton
2024-04-15 10:09         ` Ihor Radchenko
2024-04-15 11:20         ` Max Nikulin
2024-04-15 12:00           ` Ihor Radchenko
2024-04-15 13:42             ` Andrew Cohen [this message]
2024-04-15 18:33             ` Florian Weimer
2024-04-15 23:30               ` Andrew Cohen
2024-04-16  4:35                 ` Max Nikulin
2024-04-16 12:25                 ` Eli Zaretskii
2024-04-16 13:23                   ` Andrew Cohen
2024-04-17 14:31                     ` Max Nikulin

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=877cgyn3o7.fsf@ust.hk \
    --to=acohen@ust.hk \
    --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.