From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#66390: `man' allows to inject arbitrary shell code Date: Tue, 10 Oct 2023 07:43:00 +0000 Message-ID: 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> <834jizwxm2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33284"; mail-complaints-to="usenet@ciao.gmane.io" Cc: manikulin@gmail.com, 66390@debbugs.gnu.org, michael.albinus@gmx.de To: Eli Zaretskii , lux Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 10 09:43:56 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 1qq7PI-0008SI-Ge for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Oct 2023 09:43:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qq7P6-0006e8-0J; Tue, 10 Oct 2023 03:43:44 -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 1qq7P4-0006dh-66 for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2023 03:43:42 -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 1qq7P3-0002qn-Dk for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2023 03:43:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qq7PO-0000iV-51 for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2023 03:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Oct 2023 07:44: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.16969238112706 (code B ref 66390); Tue, 10 Oct 2023 07:44:02 +0000 Original-Received: (at 66390) by debbugs.gnu.org; 10 Oct 2023 07:43:31 +0000 Original-Received: from localhost ([127.0.0.1]:33910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qq7Ot-0000hY-BU for submit@debbugs.gnu.org; Tue, 10 Oct 2023 03:43:31 -0400 Original-Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:57661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qq7Oq-0000hF-MP for 66390@debbugs.gnu.org; Tue, 10 Oct 2023 03:43:29 -0400 Original-Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-505748580ceso6727597e87.3 for <66390@debbugs.gnu.org>; Tue, 10 Oct 2023 00:43:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696923782; x=1697528582; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=sKQo4x/v23+Vy0SWGXDGMzB+j++6d2bl9Q3DVP4SM48=; b=UQ6YI1HuWj8JO0oZQs1cK3abdOP7YU63945pDqq+epQVSmZ0WcjYRl6g6mvUJ7yduh 2/5TNdUPllvjbjev7jfxZRmZK8sxsrmDhoLLx82nqlYcd9+omuTvaN1mk9cQTJ1bDFeZ AYCUUynqJdym5x/laS7AfI1dyPxgIrJk7hSCvGVHOP92/NG7C83VPnGiTp1FQrTfPlmb mT27qs6nRCWZepWIcGIq+cSWW7Na/ZzYzbGVC4aI3duuyny+Db54L2SCp3P60UHq0Ap+ VmWk2zWFqnnKaSjsMXykzWfzLQXV2dqu8jx49rU/5lTWeT+eZ/ZFXzvsZcdMVJJ12+MW wByw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696923782; x=1697528582; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=sKQo4x/v23+Vy0SWGXDGMzB+j++6d2bl9Q3DVP4SM48=; b=RcEq5AVOi3xoFz/iS0wyPRTOc+/OvPwfKmGOM2nDNUOkIlBtCq8R+li3n8XoCU59+z A7t7rsuIPBYJ0SAUsqAAuzFE1jrNs2kTYisbsVa2ieDjr5DNSLPYEbV6qTyxcLxcasFW 4BKd0idVkVqqJ99Ez7sajRqdvQSLAFjbzA/itNSIO71Lh4tGPA13lOKCOYdp+aUAuwRj Gvou6g+6LvCpJk/xbYi4jUnZjFVGsGNW5Gj+6HhADwGkh1ITJwPeGcpPf7l7x/Nb0ole 4rt3umY2xRq18AJb5CHce/tKVcLkaj+FgmN2KzslwDrKYkkj8yeAS4xqm23Q7fS0hTVT ya7g== X-Gm-Message-State: AOJu0YznH6rB85zQOnusK5bhjuhOP/SdeimzAAKUYeeAnxv+x77uPRth V+HK19LuTs6JErlUqiMnkKx+OP3w+jPNs12BGRQ= X-Google-Smtp-Source: AGHT+IH56p4Fu9Ob3enA/Kd/CGDvLrxg4AcRgeSKjRRWEJ9ATNtdNde+Zpia/mvRHfTObM+RjoS3CAojO8E1Dw5MhdM= X-Received: by 2002:a05:6512:605:b0:503:1ca6:c590 with SMTP id b5-20020a056512060500b005031ca6c590mr13459376lfe.22.1696923781519; Tue, 10 Oct 2023 00:43:01 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 10 Oct 2023 07:43:00 +0000 In-Reply-To: <834jizwxm2.fsf@gnu.org> 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:272188 Archived-At: Eli Zaretskii writes: > what happens with command (man "[") in this case? It works fine here with that patch. IOW, I get the expected man page test, [ =E2=80=93 condition evaluation utility