From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Max Nikulin Newsgroups: gmane.emacs.bugs Subject: bug#66390: `man' allows to inject arbitrary shell code Date: Wed, 11 Oct 2023 17:56:11 +0700 Message-ID: <0aec81ba-4467-43ca-8a0c-f17f11ae7d76@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> <87a5sugwcx.fsf@gmx.de> <83h6n2z3tr.fsf@gnu.org> <83ttr0vyyi.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="4300"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 66390@debbugs.gnu.org, michael.albinus@gmx.de To: rms@gnu.org, Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 11 12:57:05 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 1qqWtl-0000o9-DQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Oct 2023 12:57:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqWtQ-0000Qu-Gt; Wed, 11 Oct 2023 06:56: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 1qqWtM-0000QQ-IN for bug-gnu-emacs@gnu.org; Wed, 11 Oct 2023 06:56:40 -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 1qqWtM-0002RJ-90 for bug-gnu-emacs@gnu.org; Wed, 11 Oct 2023 06:56:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qqWth-0003lu-Mg for bug-gnu-emacs@gnu.org; Wed, 11 Oct 2023 06:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Max Nikulin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Oct 2023 10:57:01 +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.169702180714479 (code B ref 66390); Wed, 11 Oct 2023 10:57:01 +0000 Original-Received: (at 66390) by debbugs.gnu.org; 11 Oct 2023 10:56:47 +0000 Original-Received: from localhost ([127.0.0.1]:37638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqWtT-0003lT-CP for submit@debbugs.gnu.org; Wed, 11 Oct 2023 06:56:47 -0400 Original-Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]:52688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqWtM-0003l9-SJ for 66390@debbugs.gnu.org; Wed, 11 Oct 2023 06:56:46 -0400 Original-Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-5042bfb4fe9so8213061e87.1 for <66390@debbugs.gnu.org>; Wed, 11 Oct 2023 03:56:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697021773; x=1697626573; 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=WagCzv9i6BPbxxkAcIz8qNpbdHOrYSts3aEz0Y5tuEE=; b=KBrYFDVsFwCctGWi0A/t4CPAY9oavjwrL1D0qLFuatI/HGj0FzwHlTXNx7eMOTCnGn l2KAVJRjG5uurl5RMXF/fm1lFQSpMAO03mXU2/W/d6mhjig161Nse+1+b9LuyHa5ffZH 3aX3A373CNK+zzmk4IdNPc021maQ9G/r8J7ZCAWpQI93ldXqUVZUJ+3ByAMgMbRwANqh Hr302rIruhwIFHg1+RnsTjo+ESb+2sGmwjPxNItj5A5BJagN1tHvoKV6O6x1oEPW9LE6 3X1VYMgY7xb+m1B87tfG+bsiSRzs5f77S0V9h4NH0o+OEPkP8f7aVcpKrqq6eqUZR3zJ w1Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697021773; x=1697626573; 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=WagCzv9i6BPbxxkAcIz8qNpbdHOrYSts3aEz0Y5tuEE=; b=cYqDS0W2D2C1e6ReysPNL2hNInrEvxfkhaUnW1c4nWrlkA0g82OHrRL8WMBiOJfqu4 zNxBD18Z2FwxkJSa6lG7Ww55FK8YIijCRjimodaMOCBulwvIpK+vNM7ER2VWjSpKK0lO Z+71qqjZmuoKy/qTJIDBJW/DB1/NRCrz9bNYeJwXCrIM78o6b1Y+QjfxQBH56eb5xBAm dpvDZChnNKcRDJFBiYIYWaj3Qz6h86uMoJH+hy3nHjcjvoUkiKGqneuMrL7diLncji18 Er8/Gs8hV9RRbIKenQ905VxXZNRj4IaYDVeAOveuK6vkDLAy08QHAvJgZhi5LYyQoqsS YSbg== X-Gm-Message-State: AOJu0YyL+V83mPgXxS02Vccy+iC3g6S1hRU19M3izp+79QQNPhS1vJLF HoxvXCfIbzHixAZv2p6XNH5BuIZxPg9mTg== X-Google-Smtp-Source: AGHT+IHnOFmHqFEK1W5lDmIjTNFgrvFKoEeBdy83eK2eQBM2V7xMrR1i1VqSUUehWcT7yD1y0zaY1w== X-Received: by 2002:ac2:5f55:0:b0:502:ffff:feff with SMTP id 21-20020ac25f55000000b00502fffffeffmr15318211lfz.58.1697021772497; Wed, 11 Oct 2023 03:56:12 -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 p7-20020a19f007000000b004ff8631d6c0sm2195927lfc.278.2023.10.11.03.56.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 Oct 2023 03:56:12 -0700 (PDT) Content-Language: en-US, ru-RU 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:272249 Archived-At: On 10/10/2023 18:56, Richard Stallman wrote: > In general, that is a reasonable policy -- but maybe a serious security > problem, which this eesms to be, calls for special treatment. I would not consider this particular issue as a serious security problem despite if reported as a CVE it may get high score. However, I believe, it should be addressed. ol-man is not loaded by default. Enough features for Org mode are convenient in case of trusted files, but close to dangerous when a user walks through a malicious file. There are some issues that requires significant amount of efforts to fix without ruining usability.