From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Florian Weimer Newsgroups: gmane.emacs.devel Subject: Re: Reproducers for recent Emacs security issues Date: Mon, 15 Apr 2024 20:33:01 +0200 Message-ID: <87edb6328y.fsf@mid.deneb.enyo.de> References: <875xwk8w5w.fsf@melete.silentflame.com> <706e1218-7451-4221-830a-ae3db3bf842e@gmail.com> <87cyqrf01x.fsf@melete.silentflame.com> <87mspv6kf0.fsf@localhost> <87y19fdklq.fsf@melete.silentflame.com> <87wmoy6dkl.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17562"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Max Nikulin , Sean Whitton , emacs-devel@gnu.org, team@security.debian.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 15 20:34:17 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rwR9l-0004Qh-UZ for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Apr 2024 20:34:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwR91-0007nx-L8; Mon, 15 Apr 2024 14:33:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rwR8l-0007nL-Cv for emacs-devel@gnu.org; Mon, 15 Apr 2024 14:33:16 -0400 Original-Received: from cygnus.enyo.de ([79.140.189.114]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rwR8j-0008Jg-8w for emacs-devel@gnu.org; Mon, 15 Apr 2024 14:33:15 -0400 Original-Received: from [172.17.203.2] (port=38379 helo=deneb.enyo.de) by albireo.enyo.de ([172.17.140.2]) with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) id 1rwR8W-00FOWb-JU; Mon, 15 Apr 2024 18:33:01 +0000 Original-Received: from fw by deneb.enyo.de with local (Exim 4.96) (envelope-from ) id 1rwR8X-000HtU-2C; Mon, 15 Apr 2024 20:33:01 +0200 In-Reply-To: <87wmoy6dkl.fsf@localhost> (Ihor Radchenko's message of "Mon, 15 Apr 2024 12:00:10 +0000") Received-SPF: pass client-ip=79.140.189.114; envelope-from=fw@deneb.enyo.de; helo=cygnus.enyo.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:317742 Archived-At: * Ihor Radchenko: > Max Nikulin writes: > >> On 15/04/2024 16:46, Sean Whitton wrote: >>> >>> emacs -q >>> M-x gnus-no-server >>> Gf ~/tmp/mbox-with-the-msgs.mbox >>> RET >> >> I am not a Gnus user, but this time I have tried it. I have realized >> that if there is an text/x-org attachment, even a purely innocent one, >> then it is enough to have the following in the text/plain *body* to >> trigger an attempt to download a remote file: >> >> #+setupfile: http://localhost:8000/setup-1234567890.org >> >> it happens when I open the message, the attachment remains closed. >> >> I expect that message body should not affect attachment preview. > > This sounds like gnus bug (or feature?). It's a feature. I think it comes the regular expression in mm-uu-type-alist. Some of the features are quite nice, like diff highlighting. Others are a bit scary (and not just the org-mode integration).