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: Sat, 21 Oct 2023 02:19:07 -0700 Message-ID: References: <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> <838r7ws9kt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37472"; mail-complaints-to="usenet@ciao.gmane.io" Cc: lx@shellcodes.org, manikulin@gmail.com, 66390@debbugs.gnu.org, michael.albinus@gmx.de To: Eli Zaretskii , Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 21 11:19:49 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 1qu897-0009XB-O9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Oct 2023 11:19:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qu88t-0004UF-Rs; Sat, 21 Oct 2023 05:19:35 -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 1qu88s-0004U7-6z for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 05:19:34 -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 1qu88r-0008RV-VG for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 05:19:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qu89J-00049Y-Jw for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 05:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Oct 2023 09:20: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.169787998415934 (code B ref 66390); Sat, 21 Oct 2023 09:20:01 +0000 Original-Received: (at 66390) by debbugs.gnu.org; 21 Oct 2023 09:19:44 +0000 Original-Received: from localhost ([127.0.0.1]:42198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu891-00048w-Vl for submit@debbugs.gnu.org; Sat, 21 Oct 2023 05:19:44 -0400 Original-Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:60872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu88z-00048j-V6 for 66390@debbugs.gnu.org; Sat, 21 Oct 2023 05:19:42 -0400 Original-Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2bfed7c4e6dso23993381fa.1 for <66390@debbugs.gnu.org>; Sat, 21 Oct 2023 02:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697879948; x=1698484748; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=sRZP2f0nlvZc7hHVzHi2yZY933CeBSa5fPrqZiatct4=; b=DGY2GOU4VzfnGSE4GH9XxoR7GaXnzwbkAQ2EFF/Iul3hGUGz03DuMHLLSjh+zBnD/T dEZZ0+lywp9sgekSI09+bvLr0sV2wd2/Joe7NRGmmJfeu+XEfGWk7t8mBk9nqHIFcJEJ 1GEoCy2fwcSYLqOV+VdQeaZ8XactvHSwi1IQk/fVjyI5NdepAqEd3o+mHpYzb1iboHtH YctH0MQferRuQSe+fT5bfkU9n5ZUZwa35cAnVyX66FLNK9DqynSlz1+Gt4zT3dcmzREW QBjBWxgyn3MAw9Xq65Cn/peztxIueMxaTt0Zz8V0XgVCkKuxJCiMkwS1ZBuQyaT96HV+ F4kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697879948; x=1698484748; h=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=sRZP2f0nlvZc7hHVzHi2yZY933CeBSa5fPrqZiatct4=; b=oWJCALG9EHKYA1Mefh7jspN06bXFlM3RE1eR2XSigxEvIKrfz75yCSNyiXk2rL+/iw cMqzNBmi5BHWQ3bvLuwVrRa/zAXHN5aa15fVEjc2Yx9GCldxR3kbCejZK6rQuso9tr3z ASQKgQYkrDLkzuGsuyOlvFZipJqPCxJeEkjOwLQMX2WmGOfbUaoUizpbKDHt/+qxNNDN TIcI/mbmaWtx4FolB3TeKQismNPL7NwoJR/iMfxmpG79s2KKet51ApG2zST77UiAAx8o PSO4ZEvML6z6kdQ/1gT08EFGwi5hweTrspkbpDEa+0ubt6eGANPGL/9wsyLW1x1AtTIL YCzg== X-Gm-Message-State: AOJu0YzHtxfT7bTBbzDaRprNJToLsXQyF/b/+T0zjRayY970lQvsHyK4 tygtPwBrJW5L8iZptW6PFElfH3Z48IxlWRJdPWI= X-Google-Smtp-Source: AGHT+IFsG32OaVr3CBhMsuY5YYkzmwpto43c996bje4HpSvBOoWF/sLXi5oToOZdKkRdDP7GOelNQi7nVailobkoXsQ= X-Received: by 2002:a2e:b790:0:b0:2c2:a337:5ea with SMTP id n16-20020a2eb790000000b002c2a33705eamr2937056ljo.27.1697879948145; Sat, 21 Oct 2023 02:19:08 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 21 Oct 2023 02:19:07 -0700 In-Reply-To: <838r7ws9kt.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:272842 Archived-At: Eli Zaretskii writes: > That's true, but neither are ':' or '[', and AFAIK we already have > man-page file names which use those two. Perhaps we should add tests for man pages with such characters.