From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0CSYE8Woc2CAIQEAgWs5BA (envelope-from ) for ; Mon, 12 Apr 2021 03:56:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UAF5DcWoc2AIbgAA1q6Kng (envelope-from ) for ; Mon, 12 Apr 2021 01:56:21 +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 98FC811A43 for ; Mon, 12 Apr 2021 03:56:20 +0200 (CEST) Received: from localhost ([::1]:42332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVloI-0004VV-FW for larch@yhetil.org; Sun, 11 Apr 2021 21:56:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVlo2-0004Uz-4d for bug-guix@gnu.org; Sun, 11 Apr 2021 21:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44558) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lVlo1-0004bb-Tw for bug-guix@gnu.org; Sun, 11 Apr 2021 21:56:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lVlo1-0008MD-TS for bug-guix@gnu.org; Sun, 11 Apr 2021 21:56:01 -0400 Subject: bug#47627: syncthing package is vulnerable to CVE-2021-21404 Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Mon, 12 Apr 2021 01:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 47627 X-GNU-PR-Package: guix X-GNU-PR-Keywords: security To: =?UTF-8?Q?L=C3=A9o?= Le Bouter Mail-Followup-To: 47627@debbugs.gnu.org, leo@famulari.name, lle-bout@zaclys.net Received: via spool by 47627-done@debbugs.gnu.org id=D47627.161819250532047 (code D ref 47627); Mon, 12 Apr 2021 01:56:01 +0000 Received: (at 47627-done) by debbugs.gnu.org; 12 Apr 2021 01:55:05 +0000 Received: from localhost ([127.0.0.1]:56102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVln7-0008Kp-ET for submit@debbugs.gnu.org; Sun, 11 Apr 2021 21:55:05 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:34569) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVln6-0008KH-6j for 47627-done@debbugs.gnu.org; Sun, 11 Apr 2021 21:55:04 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 034D31619; Sun, 11 Apr 2021 21:54:57 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 11 Apr 2021 21:54:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=TarvaWIP1C9+eqbIKN4B2Ps9 bOoYAWNZy3H+PTWm5ZA=; b=w/IYrDLzEfz+a+geTghPKoaQqkZ055ecloOJ3N2H K+9oORjaCcG/armSyImQkzjM5RnbW+YHnejtB0Gam+TK7xLBpExHj0CrYCxMZZSq Fgjkgk4FSIk+74jhGnKb0TwzZ8fpEoMeakELssslwqlMtCqZs/PX04LuGpj/JB6Q RJY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=TarvaW IP1C9+eqbIKN4B2Ps9bOoYAWNZy3H+PTWm5ZA=; b=G/U+zs+RKAoU3+w4LO//w5 2+9A+z6x5IDmXGyOQpMh4P9CGoP17hJ0hpseQ/s991foo4m8ZiPpN46E4bLUaf+l oHMj52xnTMOpniAAflYE818CK0O8cUbi2r26TPWHalVd5G4uWX2la5TjOLzCWO9r 79/yomdAg65CLPckhuLwxEot/j2DWf61AeFp8PgEPFOnnCVXk9oQBXP/N/Z8Ceig wLuEhn43HTw08XIgr/FlS230DM5DBzPgiFip4lEWhymjzE/dz2gQw4VKvHxp+mxn lIT8y99G241eWcumYRQpVfS3gK5doAqZD/ck/jlm9+9laXDcEvWRgJBFOg9iOQ4Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudekiedggeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtudenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepudfhffevhedtgfejveelfeeukefhtd dvffetgeeuiefgvedvkeefieejfffgffelnecukfhppedutddtrdduuddrudeiledruddu keenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvg hosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 50D2D1080054; Sun, 11 Apr 2021 21:54:57 -0400 (EDT) Date: Sun, 11 Apr 2021 21:54:55 -0400 From: Leo Famulari Message-ID: References: <38a8a1cb8749b422642dfa6d5374c242ddb80b42.camel@zaclys.net> <1594339afcb287329f672249f6ae8ad89e8dbba3.camel@zaclys.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0Cl3Ctx39BkLCSBE" Content-Disposition: inline In-Reply-To: <1594339afcb287329f672249f6ae8ad89e8dbba3.camel@zaclys.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 47627-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618192580; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=TarvaWIP1C9+eqbIKN4B2Ps9bOoYAWNZy3H+PTWm5ZA=; b=f/Q7UlAVcbhssW/FN7qilDa28OfLFlDepeSIx5Mw/wbOFUMl+rySWG6gX8kPXq+kXXgCAh HCJ8NFKx/ExTMkbZ4nP0fRziga3JDBu7c/E3RyOUksuT4Z00MT6VQAsYd7rgfMFKQ9mwNc QrvrGe+ao81A2O2S2nKc+hHHY4YNe3tcDDRuY60w2oocfgeOu3Y0WWoeSjV/omymUZA8/8 EnD1K4l0df+jIZ+/Tu3nhxitm3+2DD++ttaWzA2FgboWL2nNWfz8+GtVMXl7n8GX23rwER wMeyNPstvBf1EIOqhkObL6NI9Sd1cA2DVfIfx48chf/8+vNfCmzSJB3Gfyytew== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618192580; a=rsa-sha256; cv=none; b=bBR+8N7AOgS2uXorqGMrJkiWhwqnI9vXvOkXuVxMLotNFYZLpz0NDLe8zB5wJ40kyBVYYG rDh51hIQqZnVM+eYD50eVAru0hiyQ0qoF6SGjzAnzrkKMJlrApFKp49dQiamFKeGcY7Vlp ywCrt3AYdR004nxKbl+/gb2JBXrGLsE4RX65HQxzkeeOrDvzogyYpE8YPkl4jcoBRYDDz3 gjlDAfpBxjBnWLXYCEkuEqEmYYqyP71kh14v6bHWFE6U/P4mrR6fJx18jOR2dzz6+DQtmx 7Od+M7RaM7VBcuC9lmnEt+7j3zTy0sqhP1FdBq383tNKqpnnsL4Px1mXgzoRUw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b="w/IYrDLz"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="G/U+zs+R"; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.54 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b="w/IYrDLz"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="G/U+zs+R"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 98FC811A43 X-Spam-Score: -3.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: /voFc9oT/AWW --0Cl3Ctx39BkLCSBE Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 12, 2021 at 02:27:51AM +0200, L=E9o Le Bouter wrote: > On Thu, 2021-04-08 at 20:01 -0400, Leo Famulari wrote: > > On Tue, Apr 06, 2021 at 06:51:47PM -0400, Leo Famulari wrote: > > > Yeah. Given this report, we could also just build Syncthing with > > > the > > > bundled source code, which is freely licensed. > >=20 > > I've attached the patch. >=20 > I tested this patch on my system, works great with the syncthing > service also. LGTM from me. Thanks for the review. Pushed as ed3ef756f521a0df8596a88b66f65b7a1ad99252 --0Cl3Ctx39BkLCSBE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAmBzqG8ACgkQJkb6MLrK fwh2LBAAhzCyPbj7IJqDlBY0knvNDUcAjZPStM0X4TZxwUtPlyrd1vqOzHIs0ww6 7G/tIdm+A9NWH/jOr/y1ixw4Z7/tuuaHEVG2hdTawuIIub1HAJiB/zKYB0cKE8qV dTyPO+1msZY3/H3yvPVVycGvM20t4jst3XjOwWA2y32VFHxEfh5zCfcxUIdE8t8v gl2iKTm/uK13PtEAKKK1tLkUtGuMMa26UdA8JN9bMvpN57BKaRGjyPzeoi7wGFpN BEPC3GPujo0aXK4a0Xnd5W+Um0ZMhDvhRVnaypkvVfoyHnUp9XvA7JUKq7rGkj25 QgJxawx2HXXWo0z5ynab/EFS0GaWFW8udM/IBpYkVXTJiDF7swltQRaHjmrfSkyt PcXBoAo2KvCecPczzSrFhZIur3Z+szjyscUronxKBYcE6jpQSK5q41eShMiKoTAu G6wuF5YkdwD6jiCuUpbwKg8v9cZI34attpWzalfT42Vg180JFeLW31tJvpQNumql xt4o3jDsOfFw8O2qoWQokaSd9+bhW9RL7+D+J6N/iTxejnyIrgzK1B/Bg20GpYT/ zz8VlPqp31p1m+NNXHl2satLHzp/kCaUalnxJB3e9OlgwxCinFQGElOCT8mlxZQQ Rok91siV7s2cWRwCBtWOfr/8G2JDIq8M6Eq7+R4XEDRV0mgWXrU= =aK40 -----END PGP SIGNATURE----- --0Cl3Ctx39BkLCSBE--