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#59817: [PATCH] Fix etags local command injection vulnerability Date: Tue, 06 Dec 2022 18:14:43 +0200 Message-ID: <83359s7bm4.fsf@gnu.org> References: <83r0xf9qsx.fsf@gnu.org> <834jua9ggd.fsf@gnu.org> <83lenk7kuq.fsf@gnu.org> <83bkog7fev.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38305"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefankangas@gmail.com, 59817-done@debbugs.gnu.org To: lux Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 06 17:16:46 2022 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 1p2acg-0009iM-1j for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Dec 2022 17:16:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2acH-0003i2-5x; Tue, 06 Dec 2022 11:16:22 -0500 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 1p2ac1-0003h7-2F for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2022 11:16:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2abz-0003Ac-2s for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2022 11:16:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2aby-0005Nz-Np for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2022 11:16:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Dec 2022 16:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 59817 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 59817@debbugs.gnu.org, eliz@gnu.org, lx@shellcodes.org Original-Received: via spool by 59817-done@debbugs.gnu.org id=D59817.167034331020678 (code D ref 59817); Tue, 06 Dec 2022 16:16:02 +0000 Original-Received: (at 59817-done) by debbugs.gnu.org; 6 Dec 2022 16:15:10 +0000 Original-Received: from localhost ([127.0.0.1]:43763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2ab8-0005NS-BU for submit@debbugs.gnu.org; Tue, 06 Dec 2022 11:15:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2ab4-0005Mk-MH for 59817-done@debbugs.gnu.org; Tue, 06 Dec 2022 11:15:09 -0500 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 1p2aaw-0002ba-NE; Tue, 06 Dec 2022 11:14:58 -0500 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=oOSGzEfqCNCPR4kmRGZaDNTslZxIFpXQtKq2VJrWNiw=; b=aa+x8ehQn3wO f9MJVizsr7wLxxwzt/6wjZksuBl+PYyEJMDhTFYCEz+ktpJQE14RFUPY28x2Uv6xjXijKubF+1T+y 4qaqKKAA2L8l5XU5w0nqIsxBLNm7Jst3THcc7rE2+KAQHjd/i9e/jqXB1Fj08qyTzrvD2IFfcx0TK YXPwTsUlzrC6zg+GMfeykf0Egl5w3lwF5OmpwxyQsVucVn7ejDrW9KLz4Y7u4O4TC6HjDtg0sfVAl LKR5LoWZcm6h9zh1B9YXN4Xk4PRj8tW+oQoHW5QgGK+L0LucvmkkwNaPDtly9Ce9j4DT4AS1qGgjc e9z/R6J69bPIofaFq08KnQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2aav-0004RA-8R; Tue, 06 Dec 2022 11:14:58 -0500 In-Reply-To: (message from lux on Tue, 6 Dec 2022 23:49:05 +0800) 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:250125 Archived-At: > Date: Tue, 6 Dec 2022 23:49:05 +0800 > From: lux > Cc: stefankangas@gmail.com, 59817@debbugs.gnu.org > > >From d1dd12396b7d99ff93e6a846c96ae600addac847 Mon Sep 17 00:00:00 2001 > From: lu4nx > Date: Tue, 6 Dec 2022 15:42:40 +0800 > Subject: [PATCH] Fix etags local command injection vulnerability > > * lib-src/etags.c: > > (escape_shell_arg_string): New function. Thanks, installed with some minor changes.