From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#66390: `man' allows to inject arbitrary shell code Date: Thu, 11 Jan 2024 12:07:39 +0000 Message-ID: <87v880jcok.fsf@localhost> References: <83wmvyzir2.fsf@gnu.org> <585dcaf0-358e-4a9d-84d1-6fd9c2c8aec5@gmail.com> <83v8bizf9r.fsf@gnu.org> <1865abb8-16cd-4570-9a8a-87cf9430583d@gmail.com> <875y3iigua.fsf@gmx.de> <83o7hazap7.fsf@gnu.org> <87mswugyoq.fsf@gmx.de> <83jzryz6op.fsf@gnu.org> <87a5sugwcx.fsf@gmx.de> <83h6n2z3tr.fsf@gnu.org> <831qe5znrz.fsf@gnu.org> <262ed9fe-b92b-489d-b1f0-5202bfdb088b@gmail.com> <87il7e78j5.fsf@igel.home> <83h6mksaqp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34301"; mail-complaints-to="usenet@ciao.gmane.io" Cc: lx@shellcodes.org, 66390@debbugs.gnu.org, schwab@linux-m68k.org, michael.albinus@gmx.de, Eli Zaretskii , manikulin@gmail.com To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 11 13:05:45 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rNtof-0008eg-46 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Jan 2024 13:05:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNto9-0005J4-Ru; Thu, 11 Jan 2024 07:05:14 -0500 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 1rNto2-000515-Ry for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2024 07:05:07 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rNto0-0008Qd-S6 for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2024 07:05:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rNtnx-0006Qk-TA for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2024 07:05:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jan 2024 12:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66390 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: security Original-Received: via spool by 66390-submit@debbugs.gnu.org id=B66390.170497468024675 (code B ref 66390); Thu, 11 Jan 2024 12:05:01 +0000 Original-Received: (at 66390) by debbugs.gnu.org; 11 Jan 2024 12:04:40 +0000 Original-Received: from localhost ([127.0.0.1]:58858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNtnc-0006Pv-Em for submit@debbugs.gnu.org; Thu, 11 Jan 2024 07:04:40 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:42437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNtnZ-0006Pd-7D for 66390@debbugs.gnu.org; Thu, 11 Jan 2024 07:04:38 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B851A240104 for <66390@debbugs.gnu.org>; Thu, 11 Jan 2024 13:04:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1704974673; bh=09nCO7GkqMbXxbPkONnpYE7btM/ZfTNPGYgtTLZ8jdk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=O6WYWUl0pzsufpoXwHK6JOhWksJNTjC7T9AKjmFBIzuLhwBngtpCWnlxkVVhRgyap yiWf3K6UMjXUYDCf791/V/9r5fJTOZCAmH4liqY/O4//JZrTtp6ljDZwXKB622Mnik +NAO4DCdB3FnSraDAY9cumeB65U6rbzwJfUcTCkCd2MCi8Z61fTQvYpKRbjHSUKAza OtVAqokbFggN8zJdNxiBOklsHeAtjuMM9pyEl0USXs64gyP8YbbJdoLPVoGqCacW8z IMTstRpynXIpQvd21qkzgSUM/ScuTtu25z5uFy3zDXGJaqGfsssn9SpGyDS27/zDQz 4QWmv6Q7x/7tA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4T9jyR6RQCz9rxD; Thu, 11 Jan 2024 13:04:31 +0100 (CET) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:277887 Archived-At: Stefan Kangas writes: > OK, I've now installed the change on master (820f0793f0b). I'm tagging > the bug "security" to make it easier to find for distro maintainers. > > Ihor, I'm copying in you as well, in case you want to add a workaround > for this security-relevant bug to Org mode as well. AFAIU, org mode > man:// links are vulnerable to a shell injection vulnerability in all > released versions of Emacs, and will continue to be so for users until > they upgrade to 30.1. See this bug for details. (Bug#66390) Fixed, on bugfix (for the next Org bugfix release). https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=bc3caa8f9 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at