From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MEw+HUT0B2R1xAAASxT56A (envelope-from ) for ; Wed, 08 Mar 2023 03:34:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YPZQHET0B2QkFAEAG6o9tA (envelope-from ) for ; Wed, 08 Mar 2023 03:34:44 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 59AA9F48E for ; Wed, 8 Mar 2023 03:34:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZjcm-0006ye-4i; Tue, 07 Mar 2023 21:33:52 -0500 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 1pZjcl-0006yU-54 for emacs-orgmode@gnu.org; Tue, 07 Mar 2023 21:33:51 -0500 Received: from out203-205-221-239.mail.qq.com ([203.205.221.239]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZjch-0002kt-BH for emacs-orgmode@gnu.org; Tue, 07 Mar 2023 21:33:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1678242519; bh=665z56p9zQ0rRENXDHCEyAmQqKj4dbA1w4lg4saRVeY=; h=Subject:From:To:Date:In-Reply-To:References; b=DKxL3axFTtNlIKgH5Vn2MybmCcv8JDgTL5Z9iVO4gngJ+XymtQWVAvs8JGGxVwS6X QbFrAd4P6TESl6zBBadm+aOkYR1DvWQIwIeVfeFcd+p8h7y3YP6PPWNx2NkfB4qCC2 G4MK4pFPF3JMS94W3kldQ3+q7EVlV1TsBMjQhz4Y= Received: from [10.8.192.150] ([140.210.194.131]) by newxmesmtplogicsvrszb1-0.qq.com (NewEsmtp) with SMTP id 726080BE; Wed, 08 Mar 2023 10:28:38 +0800 X-QQ-mid: xmsmtpt1678242518tn63d7e3d Message-ID: X-QQ-XMAILINFO: NMGzQWUSIfvTI+9rlZFy7zxjFUZfi7+kujI16z9aeKkdCO5xG88EZKB60NhZCr 66h+ndHkP+D46qPow9szyHppzXH0vE4duS67FEOeYCjsB0EZ9lbsnhUyw5P9ExzROsivOnUY9Q4w kPZlTbD7gCJcwx0uWG0dEVi+0HxO5Dd9qRor4M4/f64lpkK110fGRm6UElTCJltbLhBg9N7rULjW FlPAT1fail6VmvbTzifmlMipmCr1aFHhm4jxJzaJ6bALZw/NksIK7vwNYsFsryjqhsWNOEdpAIfp JbOowobMSop8hLCXGDSm3Ojv4iBF/vPb/M4zEQQqN2CHzYgg9M9Zf41Ek/3On2GKhdVIDzA43evK 7eVCAnOAWlgDqcBy/5P6mYVDMWZ/lBkQRA0cyDr4Ic0sMfsG9MqHrfumck2JGXcyimUYnUMAA/Gb GVrSwtccBeapLCbN5M3k0QF2X6TLkSo2o6zXbitLaTsVPFs4YFaXDyPunUkCE0m31JdoKarecRjc um85Wqtx+bidLtd9vRDDD64MkfY03jcuX7FEHldbW2VjgEy7sR65u9seK47p3Ntw/GaeHFAaaDdk e3HxPYVNLX9/eOmM1/mDbu22jljXCWBckGJN0xA6hxzR7lTVN/Vcu0RWBz9lCpy3u/AIzwoTp+q2 tEL54fKDq5Ft6Ztcn4SYvZivebvs02Eq+rliTPgePOzo0+7LAyCxUslAN5O7o30uBjHGJnLkQLfc kdyR5+Lx8wwzJGmrefSQyNdk/2Kf3dsO8IjY8QkGZSsmOXpawz3Rv19Q/JJV9PV9NvJc0BVdH5FK 5nWrtcaARMnMUyo4I6mH9iCPqkdA5C0KySIrzWjqwuilz9Q5QlEJOtgJciTphd/JQHVvbvHlUcr5 E27sTP6aE7M8hxjLRnJvzcg6JbgzXtTcp/7HoQQLBs8Mlqrtftjf4= X-OQ-MSGID: <4f87d540ccbc15810b467ad912224dc32d33922f.camel@shellcodes.org> Subject: Re: [PATCH] Fix ob-latex.el command injection vulnerability. From: lux To: Max Nikulin , emacs-orgmode@gnu.org Date: Wed, 08 Mar 2023 10:28:38 +0800 In-Reply-To: <047b7367-c98f-e531-b3e9-bc50b6b098e5@gmail.com> References: <87v8jzjj1p.fsf@localhost> <047b7367-c98f-e531-b3e9-bc50b6b098e5@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 Received-SPF: none client-ip=203.205.221.239; envelope-from=lx@shellcodes.org; helo=out203-205-221-239.mail.qq.com X-Spam_score_int: 10 X-Spam_score: 1.0 X-Spam_bar: + X-Spam_report: (1.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HELO_DYNAMIC_IPADDR=1.951, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678242884; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=665z56p9zQ0rRENXDHCEyAmQqKj4dbA1w4lg4saRVeY=; b=QmioQzoUqBW9xdsERk8ITXnFM28LBCdT/49A16hkJrM8HeOnnRAfFyTa26HRLJkoZbaTI/ U/QBpqDtKJ4QWG5QXsQB4/TrNIsa+pJJ9+eEhiR9zhgQrr4BGQJyGZ84Njj1/Ruo8smKHk E/vlIiR7xHd9k0KG5fk0IbPKsg4Sy6INl2eUrFQwwHRX1BXSf0gQVW5C6zw/Z1t6Rsldk9 8LyZlnnorDa7RIRIPPr7D7iB+7ieatcl6S6fmVQi8SzBU93y0TRIHJtwFl/RF4WMEItaZ5 tA8ufFwZUprdix6rSqKMOD1y/9EbGbDYcERPQEe34ZfyGswKJp3Q7Jm2j9cjqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=qq.com header.s=s201512 header.b=DKxL3axF; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678242884; a=rsa-sha256; cv=none; b=nWLxwE+HhwDamD2+6QSh8j+Wu8KX14hcndlBiVeZsT/40fPrDNT3BLdgR0JRSCQ//E6lco 1Gil3bC8c7dEFjh6/3O9Pvobyr/ICdbqto7o4k3Vj4ntqZp2EiuMFZrvcXAZFnWIXoKe+d 3ghGKIK7aWIEfQEZ5yQYFxUoPFHAmsfxQMEwh5dp6nXZ4yZoIVFA9R921ljR9SkFhMvn1k IpL+gpIdCIJ2T2+Z5vvbrbrQoyAajaDz6Icu4N1Bryt7yK+Y1u4Gl2WU5IfjJrpt808m9P 9nE+c7VwR2VfaqUcp2+w2eS9vuAmILbfZL9O8uTTV4BBYHQ5L894+yvSZfsBbw== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=qq.com header.s=s201512 header.b=DKxL3axF; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Spam-Score: -5.54 X-Spam-Score: -5.54 X-Migadu-Queue-Id: 59AA9F48E X-Migadu-Scanner: scn1.migadu.com X-TUID: VSy+kk6SoDN9 On Tue, 2023-03-07 at 22:31 +0700, Max Nikulin wrote: > There are a couple more mv shell commands in ob-latex.el. It would be > nice to fix them as well. Sorry, I have not checked it earlier. Are > you=20 > still interested in this topic? I hope, you already have examples > that=20 > can be used to quickly test if modified code works as expected. No problem, I recently fix and test.