From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#66390: `man' allows to inject arbitrary shell code Date: Sat, 21 Oct 2023 10:45:06 +0300 Message-ID: <838r7ws9kt.fsf@gnu.org> 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> <87jzrgxwad.fsf@linux-m68k.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39080"; mail-complaints-to="usenet@ciao.gmane.io" Cc: lx@shellcodes.org, manikulin@gmail.com, 66390@debbugs.gnu.org, michael.albinus@gmx.de, stefankangas@gmail.com To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 21 09:45:55 2023 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 1qu6gF-0009yi-Hs for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Oct 2023 09:45:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qu6fw-0001zO-8Q; Sat, 21 Oct 2023 03:45:36 -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 1qu6fu-0001zC-VG for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 03:45:35 -0400 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 1qu6fu-00070v-NJ for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 03:45:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qu6gM-00070r-9e for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 03:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Oct 2023 07:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66390 X-GNU-PR-Package: emacs Original-Received: via spool by 66390-submit@debbugs.gnu.org id=B66390.169787434826937 (code B ref 66390); Sat, 21 Oct 2023 07:46:02 +0000 Original-Received: (at 66390) by debbugs.gnu.org; 21 Oct 2023 07:45:48 +0000 Original-Received: from localhost ([127.0.0.1]:42128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu6g7-00070P-T1 for submit@debbugs.gnu.org; Sat, 21 Oct 2023 03:45:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu6g5-000708-An for 66390@debbugs.gnu.org; Sat, 21 Oct 2023 03:45:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qu6fW-0006jj-7B; Sat, 21 Oct 2023 03:45:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=017hl7QYPGLK9BR/jga3eRZd5YliB/ciuESZPTgsMIg=; b=Q+yaPn78H23q QWofrTmOY1xwPJ06Ttukjd2Bt9GNXfLyWajJDfrXeyl6S8cSTXdyotxYFIuWf6u58BgdqtDp4bd/7 v7JAU31nb6PMRPpJEYz5TI53Rsy6oDjrNj62emaoJg9geARIzZtfE9OMJQzqwkfumKGWZrJJytE4U 9rHV9A5BCYyA5e2LedE1LW1NiEsHfuB73b6YhaKlRo1DkOG8tE+mtG7WkwEigxzxX4oyvxnc3HBeS pw0qJCSJ7EeEvrgDzhRS7xEBLVVk9dewmtfMBcOWix8DrZz+rcBmYnt92REzMhJg9NsiM+GEDSFj7 cp6mfeocffRClf5oJ84qkA==; In-Reply-To: <87jzrgxwad.fsf@linux-m68k.org> (message from Andreas Schwab on Sat, 21 Oct 2023 09:35:38 +0200) 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:272838 Archived-At: > From: Andreas Schwab > Cc: Stefan Kangas , lx@shellcodes.org, > manikulin@gmail.com, 66390@debbugs.gnu.org, michael.albinus@gmx.de > Date: Sat, 21 Oct 2023 09:35:38 +0200 > > On Okt 21 2023, Eli Zaretskii wrote: > > > found in file names). In particular, who can guarantee that ';' will > > not be part of some man page some day? it's a valid file-name > > character on Posix hosts, isn't it? > > It's not part of the Portable Filename Character Set. That's true, but neither are ':' or '[', and AFAIK we already have man-page file names which use those two.