From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Maxim Nikulin Newsgroups: gmane.emacs.bugs Subject: bug#66390: `man' allows to inject arbitrary shell code Date: Sun, 8 Oct 2023 10:42:03 +0700 Message-ID: <245d34b5-8a93-42bd-9ad8-91f6a72bb6f3@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="341"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 66390@debbugs.gnu.org To: Eli Zaretskii , Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 08 09:23:57 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 1qpO8p-000ARF-ET for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Oct 2023 09:23:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qpO8e-0001FE-Ap; Sun, 08 Oct 2023 03:23: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 1qpO8d-0001El-3V for bug-gnu-emacs@gnu.org; Sun, 08 Oct 2023 03:23:43 -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 1qpO8c-0007XZ-OD for bug-gnu-emacs@gnu.org; Sun, 08 Oct 2023 03:23:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qpO8w-0000EF-IF for bug-gnu-emacs@gnu.org; Sun, 08 Oct 2023 03:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Maxim Nikulin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Oct 2023 07:24: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.1696749795799 (code B ref 66390); Sun, 08 Oct 2023 07:24:02 +0000 Original-Received: (at 66390) by debbugs.gnu.org; 8 Oct 2023 07:23:15 +0000 Original-Received: from localhost ([127.0.0.1]:56205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpO8A-0000Co-9V for submit@debbugs.gnu.org; Sun, 08 Oct 2023 03:23:14 -0400 Original-Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:57645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpKgY-00027M-CF for 66390@debbugs.gnu.org; Sat, 07 Oct 2023 23:42:31 -0400 Original-Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2bfea381255so40632131fa.3 for <66390@debbugs.gnu.org>; Sat, 07 Oct 2023 20:42:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696736524; x=1697341324; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=GWr7+32uVjP1kcOBxOj0lZoaRtqrHDJXShqigddG94w=; b=dsaSrje+mNHJMbxPnBhdarsGLplHCIolS5YR4w9TW9sq2VycQ66rtKrl2kCH0z7/T4 /AuHgleQ3bcUMKvdojpXQasARI1B/PhgRzLRxMPE8HsClG/YrZzKnzNLp2Ie4c3uciL6 wStwTOQCZarxUHbpsEO8t7fwzOxiCZ6nGWho1Rdxx0ECk/zHPyvP5VW0JroatG6Me6vC NL+0RnjAAMhLwIFeH6kpow24bg+lvbXjLRttwwYMNVmurFKEbb4sePaYl5VOZPoyz7XF YOToOiG9+7RCvEiMdWhb9MEoR/3hmMHzt4gKE1A3d5thmqcses6NJRiUkHRQkEFvXZNi /dBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696736524; x=1697341324; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=GWr7+32uVjP1kcOBxOj0lZoaRtqrHDJXShqigddG94w=; b=XQes0sQBbPg3+aCPPVySOvLX2IzKZ/dlFagjnir9YsnFUacGqShypLwqmFFr6KDMyD jDOyhllDpX7QqHFlW3hZ9h06dvUvyEBRDPJWNWo6iq0zO68peCfID7+wdKHBl4iaw4GB kV7T+b/ybqs0MlWX9vB+Z844Zeka3CTVyri8idqAslA/7FQ/DcgvScMBFFXdo+GyHdku mtNcV6i4NBcr5Ink1G9L4Pzc+eHGWYJLOJyli6lE2gTa1w2qiBC70kJN199NUiLq8COB R7Y4lgWgpm3N9mt7JT53bWmQLknHkDvxahxcBH2+aGHCLypkNWn5Gy+KHoMSri2nMlQ4 I+BQ== X-Gm-Message-State: AOJu0Ywma114b2vHcaj2l1dSX3I4ENcwVXM7fZHQKGyDhCuuwlyoA22m 41Et0pvgwfuER92qsAxoU70= X-Google-Smtp-Source: AGHT+IFdVsA81PKZf4FRtLH0PiO7IXZFa8mq1mAD91Jfa6WQp9gC10LVIHQoICQ5+zTPsT6BvUb0LA== X-Received: by 2002:a2e:a402:0:b0:2b9:e53f:e201 with SMTP id p2-20020a2ea402000000b002b9e53fe201mr10714958ljn.31.1696736524242; Sat, 07 Oct 2023 20:42:04 -0700 (PDT) Original-Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id w22-20020a2e8216000000b002bba9a4f715sm1425040ljg.11.2023.10.07.20.42.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 07 Oct 2023 20:42:03 -0700 (PDT) Content-Language: en-US, ru-RU In-Reply-To: <83jzryz6op.fsf@gnu.org> X-Mailman-Approved-At: Sun, 08 Oct 2023 03:23:13 -0400 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:272063 Archived-At: On 08/10/2023 00:24, Eli Zaretskii wrote: >> From: Michael Albinus Date: Sat, 07 Oct 2023 18:55:01 +0200 > >> The docstring of man explains already, which kind of arguments are >> expected. > > Yes, and we update that all the time, given how the systems stretch > these specs. I see some discrepancy with the declaration of stable API in "Re: Completion of links to man pages" On 06/10/2023 00:11, Eli Zaretskii wrote: > From: Ihor Radchenko > Cc: emacs-orgmode@gnu.org, emacs-devel@gnu.org > Date: Thu, 05 Oct 2023 16:53:57 +0000 >> What I am asking here is to provide a stable Elisp API for the above use >> case. Currently, we have to rely on implementation details. > > From where I stand, we have already a stable API tested by years of > use. What is maybe missing is some documentation to allow its easier > use, that's all.