From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#29182: CVE-2017-1000383: umask and backup files Date: Tue, 8 Oct 2019 11:24:55 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="26852"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 29182@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 08 11:27:10 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iHllt-0005RX-Ts for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Oct 2019 11:27:10 +0200 Original-Received: from localhost ([::1]:52886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHlls-0008BW-3b for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Oct 2019 05:27:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35964) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHlkp-0006re-Of for bug-gnu-emacs@gnu.org; Tue, 08 Oct 2019 05:26:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHlko-0000qN-O2 for bug-gnu-emacs@gnu.org; Tue, 08 Oct 2019 05:26:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40746) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iHlko-0000q9-LL for bug-gnu-emacs@gnu.org; Tue, 08 Oct 2019 05:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iHlko-0002ga-Ei for bug-gnu-emacs@gnu.org; Tue, 08 Oct 2019 05:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Oct 2019 09:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29182 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: security Original-Received: via spool by 29182-submit@debbugs.gnu.org id=B29182.157052671510231 (code B ref 29182); Tue, 08 Oct 2019 09:26:02 +0000 Original-Received: (at 29182) by debbugs.gnu.org; 8 Oct 2019 09:25:15 +0000 Original-Received: from localhost ([127.0.0.1]:49559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHlk3-0002ex-8F for submit@debbugs.gnu.org; Tue, 08 Oct 2019 05:25:15 -0400 Original-Received: from mail-pl1-f177.google.com ([209.85.214.177]:38069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHlk1-0002ef-Ct for 29182@debbugs.gnu.org; Tue, 08 Oct 2019 05:25:13 -0400 Original-Received: by mail-pl1-f177.google.com with SMTP id w8so8208914plq.5 for <29182@debbugs.gnu.org>; Tue, 08 Oct 2019 02:25:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fT/kEhithfbg03bN/urF7Y0UC/FX2UkdzaVfMCMqUS0=; b=SjE34KjUCUp1Cmvq6HZRycaLJ0/Qg7POF+gx1ZbpUHgb8yFCbYF0D/UP9skBA+h6b+ ARZloh3bq257bSLDtmV0+hdZRGCh0J5KJ1Sm0RclIo7eGJqrZdSGgba54CQAYAWuohED BdqqsgdAywkmTiMihGtR3iPYl9xba/O2u7mX5K2sdfs21AUTCGMEIFtalHIIGQ6j8SxZ LdG8SRSAE8p4iK0/l3/KXqYhUJyHu64mdQeHgqBMwEHL2fABoms/1k26B6jy8W9wKrox 0cgAMvLfDf+YRZKzMOzepTAmFo04Cd+MA+NXa0SgTJahpEJsxU1YaZUGeCMvaeUS/TPr 4PNw== X-Gm-Message-State: APjAAAWCuHKVasaV/8LDgQ0r/XOCrnZYH7rYKqxB+b+6qEDxhNUkMVXg 8L0AZqAQvTRyTA6izQaP18fesloo2UNd6NZ3w1w= X-Google-Smtp-Source: APXvYqxTD35pHxLEKsNQbh1Uw/wnoYOXKphq8nM8KP2dQrjOKfN1tL1gGm6FrllCAjoL2loxjzbXaJD0/U1yiNRfHoM= X-Received: by 2002:a17:902:326:: with SMTP id 35mr35211578pld.128.1570526707149; Tue, 08 Oct 2019 02:25:07 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:168626 Archived-At: Glenn Morris writes: > It is a silly CVE, but IMO backups belong by default in a private > subdirectory of user-emacs-directory (user-data-directory if such a > thing existed). That's what I do, personally. But it's not unproblematic to do that by default, in my opinion. What if I'm editing a file on an encrypted filesystem, thinking that it's safe there, and Emacs silently saves a copy of said file in my home directory on an unencrypted file system? Best regards, Stefan Kangas