From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EKrhBM4Uq18QRQAA0tVLHw (envelope-from ) for ; Tue, 10 Nov 2020 22:31:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qMSrAM4Uq1//dQAAB5/wlQ (envelope-from ) for ; Tue, 10 Nov 2020 22:31:42 +0000 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 6E1589401BD for ; Tue, 10 Nov 2020 22:31:41 +0000 (UTC) Received: from localhost ([::1]:49472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kccAt-0001h9-P7 for larch@yhetil.org; Tue, 10 Nov 2020 17:31:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcc9c-0001ge-CB for emacs-orgmode@gnu.org; Tue, 10 Nov 2020 17:30:20 -0500 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]:44065) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcc9a-0006QT-4b for emacs-orgmode@gnu.org; Tue, 10 Nov 2020 17:30:19 -0500 Received: by mail-pg1-x530.google.com with SMTP id e21so11493579pgr.11 for ; Tue, 10 Nov 2020 14:30:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=qK1glzlvFjm10W1WKS4Orqhtrsg8d2Gq22ya/eoZfac=; b=juQpZBSyoF0SvuCwM9Eodzl0LaorXwvifDNCXVZTbNXib5hgCCBzkzxZHaL7ino9/e C17YhMmg6OeJgOrs84GmjY5ZMVHD5DFFNBsOLDHP6igxniIQyR7/PFra8kp1+t+84ps6 0x3Ewg9micQCUtXUyUEE4KNn7UBRKiII9MPW2JrQlRiu3eWUVp2WVPSVEwFAnsWZ5HDC BwWI4JDcASxpGrfQCONH5v0c47aH0r/fbk+ftxnKCFt3ItSuG2A8q4c8gmmNiVCe6khi X/fUJvdjqAiUA5IBvxHxuVnEO5rynh/FXhmnt9Xxd6nPEwAHyNMnnRCAvX4Ww7e/bX1a 35zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=qK1glzlvFjm10W1WKS4Orqhtrsg8d2Gq22ya/eoZfac=; b=XFpq1CExLD+4zv7NtO6V5o4aBV0yPc1zP67kvSqwYZhE8GE4TQ/iZgQ1QkNqgyISFv q2OK9gp7pa6XTg0eOuxZQ4Ywb2W9JM/38GyXOsio/OyG3cZ0DYTYL6DD94/howQ6rE3F EwZFQw/OzjyzjbjQggyQYYNToqGK5zfXW38Fo9vtHXL9esFti+VoVzu/rGJ0FEpvJUHw oEuEMjJ5ggUPCj4rjxyNZVjmK/a/Z1CoQzpdwcuam+txepTeKvlZsFMtNnSE8/fe8Q3Y fBb6Lqg9kNAlkSxzRd5e4f4gm067zek24ukfkAgir0iE4W4b2voDiMzSgU0cL22d6Yeq X3Ww== X-Gm-Message-State: AOAM533OdOuoEwsWq1GtCD8N0x3HQEfDl7OsltxStGBnqQAg1MOYwOuR APLZEYakj4UKKzHr6LV3Q2Pe3jEuB7B7Wg== X-Google-Smtp-Source: ABdhPJx9+iCLMXy6kOHG3iyT9ecofg4QdOx8YrRB1vgVWae/t9mc7sQVoqrDKrVUjsD81WpcC1ogQg== X-Received: by 2002:a63:ff5d:: with SMTP id s29mr7485173pgk.290.1605047415282; Tue, 10 Nov 2020 14:30:15 -0800 (PST) Received: from tim-desktop (106-69-81-190.dyn.iinet.net.au. [106.69.81.190]) by smtp.gmail.com with ESMTPSA id m68sm14692pga.46.2020.11.10.14.30.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Nov 2020 14:30:14 -0800 (PST) References: <877dqujj9t.fsf@gmail.com> <193258.1604981615@apollo2.minshall.org> User-agent: mu4e 1.5.6; emacs 27.1.50 From: Tim Cross To: Jean Louis Subject: Re: Thoughts on the standardization of Org In-reply-to: Message-ID: <87y2j8x2tq.fsf@gmail.com> Date: Wed, 11 Nov 2020 09:30:10 +1100 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=theophilusx@gmail.com; helo=mail-pg1-x530.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxim Nikulin , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=juQpZBSy; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: Z7i6yAWfhSxR Jean Louis writes: > * Maxim Nikulin [2020-11-10 19:31]: >> 2020-11-10 Greg Minshall wrote: >> > >> > i would guess >> > using 'cat -v' to read e-mail is 100% safe. even throwing in >> > uudecode(1), or whatever is needed to decode base64, (and then piping >> > through 'cat -v', of course ), it's probably still safe. >> >> Please, check that you have at least updated tmux before applying such >> "safe" handler: https://www.openwall.com/lists/oss-security/2020/11/05/3 The >> news are too recent to not mention the link in such context. >> >> The sour story is that it is unsafe to feed non-trusted files directly to >> terminal. A filter against control sequences is required. > > Is there anyway to disable control sequences? Than cat can be aliased. It should be noted that this vulnerability is a buffer overflow exploit which ASLR effectively mitigates. This doesn't mean that it isn't a serious bug in tmux, but it does mean that unless you have disabled ASLR, there is no known exploit (i.e. it is only theoretical). Given the popularity of tmux, I suspect it will be patched and a new version released fairly quickly. I guess this does highlight the point that *any* data from an external source can potentially be a threat. You cannot eliminate the risks, only manage them down to an acceptable level. What is acceptable will vary for each user. -- Tim Cross