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#19479: Package manager vulnerable Date: Tue, 8 Sep 2020 01:10:53 -0700 Message-ID: References: <86o8mh5ej7.fsf@gmail.com> 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="33288"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 19479@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 08 10:12:18 2020 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 1kFYjh-0008ZE-Ra for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Sep 2020 10:12:17 +0200 Original-Received: from localhost ([::1]:48126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFYjg-0004Sh-Pk for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Sep 2020 04:12:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFYjS-0004Pp-Ts for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 04:12:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40268) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFYjS-0000I0-Kd for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 04:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kFYjS-0003u2-Ge for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 04:12: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 Sep 2020 08:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: security Original-Received: via spool by 19479-submit@debbugs.gnu.org id=B19479.159955266214925 (code B ref 19479); Tue, 08 Sep 2020 08:12:02 +0000 Original-Received: (at 19479) by debbugs.gnu.org; 8 Sep 2020 08:11:02 +0000 Original-Received: from localhost ([127.0.0.1]:51814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFYiT-0003sa-Sk for submit@debbugs.gnu.org; Tue, 08 Sep 2020 04:11:02 -0400 Original-Received: from mail-ed1-f44.google.com ([209.85.208.44]:34378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFYiS-0003sJ-0D for 19479@debbugs.gnu.org; Tue, 08 Sep 2020 04:11:00 -0400 Original-Received: by mail-ed1-f44.google.com with SMTP id q21so15095974edv.1 for <19479@debbugs.gnu.org>; Tue, 08 Sep 2020 01:10:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=a8OPP89g2AT6dIKhVlFy0dc8phfPwQf4jO3eV/ZdOpY=; b=YlcttAPXk+8WVRxZgzPrhRfmrkYhWE99IHwWJz0EyXTmKeViH7j695UgDxIgwlIHR5 EjnH5jV03BstzKhz4yeROeXY7PQZJSZAzpntqazFSyw+ZD61rX8URmxVmriYasNhmfml kvyQyJlKn4ZAyxarG766wKa1LjnocDSCfloPpFAIxd58Bjyif8savNDYnZZQ7TVvGh4s tVGxPGExisZ6NzYigpL4FkzmnroLU011w4ZqVec6C77fQxL14vMK61jWYURuCBwnx00O JFKlesj4DnLMJ719674TNYL41NTxxTFDYJkdnrSOb5HScKxrg7g4Y9ArKIKhoZgZ+Tz+ t4OQ== X-Gm-Message-State: AOAM531n6nr1axDE/86U0Rh90zFAL6zy+dJITReuQ6kc2AxumqKHrl5Y sy97MTFR89YoNEqJdBrj8j8u1ZdREqCc8X5upzU= X-Google-Smtp-Source: ABdhPJzMdoGIqXPwQNm7L8ewxEMrXxtNn8zzU3bUmZ5Dg/82or1DKLVgNWNtehZEV2iOA0Tq7Yt8LJJeAU3Dq6pQxp8= X-Received: by 2002:a50:d7ca:: with SMTP id m10mr15864020edj.259.1599552654306; Tue, 08 Sep 2020 01:10:54 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 8 Sep 2020 01:10:53 -0700 In-Reply-To: <86o8mh5ej7.fsf@gmail.com> 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" Xref: news.gmane.io gmane.emacs.bugs:187513 Archived-At: Noam Postavsky writes: > I think the idea is that if the attacker has the signing key and sends > out a bad version of archive-contents, it will be revealed as soon as > the victim gets a "good" version, since its previous-version hash won't > match. Yes, this is what I understood to be the case as well. > Except that only works if the user can expect to get all versions of > archive-contents, so maybe I've missed something. Exactly my point. So we can't rely on it to bail out if the hashes don't match up, I think.