From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4NGTHo9ucGBMGQEAgWs5BA (envelope-from ) for ; Fri, 09 Apr 2021 17:11:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SEJdGI9ucGABGgAAB5/wlQ (envelope-from ) for ; Fri, 09 Apr 2021 15:11:11 +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 85DCF2493C for ; Fri, 9 Apr 2021 17:11:10 +0200 (CEST) Received: from localhost ([::1]:55018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUsmr-0007Eg-LP for larch@yhetil.org; Fri, 09 Apr 2021 11:11:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUsmk-0007Dz-3r for bug-guix@gnu.org; Fri, 09 Apr 2021 11:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39139) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lUsmj-0007Ul-SZ for bug-guix@gnu.org; Fri, 09 Apr 2021 11:11:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lUsmj-0000sY-NT for bug-guix@gnu.org; Fri, 09 Apr 2021 11:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47674: dnsmasq is vulnerable to CVE-2021-3448 Resent-From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 09 Apr 2021 15:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47674 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 47674@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16179810523359 (code B ref -1); Fri, 09 Apr 2021 15:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Apr 2021 15:10:52 +0000 Received: from localhost ([127.0.0.1]:50685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUsma-0000s7-1p for submit@debbugs.gnu.org; Fri, 09 Apr 2021 11:10:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:56604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUsmX-0000ry-LC for submit@debbugs.gnu.org; Fri, 09 Apr 2021 11:10:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUsmX-0007DN-F6 for bug-guix@gnu.org; Fri, 09 Apr 2021 11:10:49 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:33751) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lUsmU-0007NX-Uk for bug-guix@gnu.org; Fri, 09 Apr 2021 11:10:49 -0400 Received: by mail-wr1-x430.google.com with SMTP id f12so6021030wro.0 for ; Fri, 09 Apr 2021 08:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=ATYAfhE7H9Wz3F8wB41gO/tAmCQMi2Q/GQAmdKY/UgA=; b=A50RokzFuwMxryjHN2WG3Yr34a9pnOq28QsgalFa70mOUUTE85SrF51M+ONdiOsZVY n8sS3Jq4sYVHIZiXLVfSaMPO01oG8EkNX8Byn9q9YznOoEcQx7fTAQKFKVgpxjfNryy6 yBPqBGKShYPbHBX+qSHnypotDDmD0iDcTUvb2KwxBiL8aIRlmKIOS6I0sV97Q2FglInw MXwczMMhVPlqetbW/6Yo6QeJ6pF4xCvO1qvRHq2MdZ40NjFQsBGOEZT5i8oyO/UbzA/T xfP93w6G+Pu4+YpmPbE6EdwwflMMx2aHxfT449IzVsHm7QFQX02ABp1gUx6itp/rE9f4 CxBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=ATYAfhE7H9Wz3F8wB41gO/tAmCQMi2Q/GQAmdKY/UgA=; b=aZnQqINhGfC3kn14IuBJTqywBxtX9THvtF4DxhPkEEwfLWrnx+5QaKzB0I8AwTIJXb xGQfhssAfjnkm27ZpxCWvimFPQjHqXbzCPa1iv0VvzVFJsZF4pC6O3f8Upg1uYTwBGDd v7F0fS7peoGOU2FjXD7DoqCdWhIFGdeRPSiUlfXg2KJAzUd0yn5mrXSI7d0589rY+UP/ 8T52JgoKBso1rPT382dBqd5MKiB7Vg7uXp3GmDTiCu/HYhOoWoL91yEofLy2aT5kHpMf YIbEvZ6ikZnyHV33wjan1J1Og/13bXNYS8jfklc8/WNOaYcSJxmfuNqBFuuG95zUusPv Bz0g== X-Gm-Message-State: AOAM533OsuAlyYrzR8I+p552fEW8clc7ETOUwGAHd93o6+Ah3kpBMere RLsn4Wn2UxdQgAblHlY5rcLq+u4brJ4= X-Google-Smtp-Source: ABdhPJwxgPJ708U59SJU98VNgnZpJC5ioaa9pTPYUEYkr22OtYeuHePy7qO3orB/lrdgQEH3s/aUBQ== X-Received: by 2002:a05:6000:1102:: with SMTP id z2mr13492794wrw.87.1617981045485; Fri, 09 Apr 2021 08:10:45 -0700 (PDT) Received: from guixSD (host-79-17-142-89.retail.telecomitalia.it. [79.17.142.89]) by smtp.gmail.com with ESMTPSA id s21sm4355929wmc.10.2021.04.09.08.10.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Apr 2021 08:10:44 -0700 (PDT) From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Date: Fri, 09 Apr 2021 17:10:43 +0200 Message-ID: <87pmz3mr2k.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=anothersms@gmail.com; helo=mail-wr1-x430.google.com 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: 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: , 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=1617981070; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=ATYAfhE7H9Wz3F8wB41gO/tAmCQMi2Q/GQAmdKY/UgA=; b=kF2+d5Dbnc0eRK/Fo6hf90XiL4mVIAb4LBHrzGO92OAOETdE0KbovlkPUDRcXXCMYNwMZJ z4y6guzge3Dl0isJklp88Y12CqRCg216BcK+d+fq+25+1DwXCxIGOwbq4Pd/UhU3+iv/w6 3X940VKXumWYwIJ6Z0k6qYu0jv3x9kUN5Li0osiUBuzL2GCa8KhnEoAI3M1wl3cjdTaF3A XcYLHHP1e67QJICz73J6CbLDbiKbT6fEREydzO38Co3LO3Vk3yPgBH2eARt70vyWXqkH4l 9WJU7+pFKUuNBLd6V7T7ZcNmBynJO3RpmhGrPJblbF2hVRP+0YSzvBXHyHHwUw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617981070; a=rsa-sha256; cv=none; b=pPhc5EJAJEn0+NB4kQzY44gFGW7WmLHhFQ+TBuI7a4N/TJhxFFSPhjSKe4lRIiqVMJaGUa X7JJZBcrRUdvzc3KVAj1gEH6WZ6HE58pAKh3YpcJDpz/Mwi2agOP9+tO2CEq8vhIU/Eu6b QPXdrOr08rKDduAyyH6JcBoYjX/mZt94U50hRuIpA8jmOPoYyba7jHJwK7Zreu2cxZmiMx BK6SMFbZebMgB5/pfIqiA88cHFc3DJ6CogZIviGQk4ZPJ/MVO3wZvYrayFmqKKucvuHSdl sPcpO3CGaoaQllw+hVWTk7i0xiYfcR3RqJVKRzXHTotY0d9DyaF2LBiFQdwvkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=A50RokzF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Spam-Score: -1.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=A50RokzF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 85DCF2493C X-Spam-Score: -1.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: feRoVkTWjE1C --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable CVE-2021-3448 A flaw was found in dnsmasq in versions before 2.85. When configured to use a specific server for a given network interface, dnsmasq uses a fixed port while forwarding queries. An attacker on the network, able to find the outgoing port used by dnsmasq, only needs to guess the random transmission ID to forge a reply and get it accepted by dnsmasq. This flaw makes a DNS Cache Poisoning attack much easier. The highest threat from this vulnerability is to data integrity. guix ships dnsmasq@2.84. guix refresh shows version 2.85 is available, and there are 43 dependent packages so this can go directly to master. All dependent packages (refresh -l) build fine except for python2-libvirt@7.2.0, which is failing also on master (libvirt-python requires Python >=3D 3.5 to build). Since it's a python2 package and no other packages depends on it, can we just drop it? Thanks, Nicol=C3=B2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-dnsmasq-Update-to-2.85.patch >From a0932442c6c72d1e1a2a0f400f8afa487251189d Mon Sep 17 00:00:00 2001 From: nixo Date: Fri, 9 Apr 2021 16:19:03 +0200 Subject: [PATCH] gnu: dnsmasq: Update to 2.85. * gnu/packages/dns.scm (dnsmasq): Update to 2.85. --- gnu/packages/dns.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm index c940657ce9..3cf88febae 100644 --- a/gnu/packages/dns.scm +++ b/gnu/packages/dns.scm @@ -278,7 +278,7 @@ prompt the user with the option to go with insecure DNS only.") (define-public dnsmasq (package (name "dnsmasq") - (version "2.84") + (version "2.85") (source (origin (method url-fetch) (uri (string-append @@ -286,7 +286,7 @@ prompt the user with the option to go with insecure DNS only.") version ".tar.xz")) (sha256 (base32 - "0305a0c3snwqcv77sipyynr55xip1fp2843yn04pc4vk9g39acb0")))) + "1yhjwgz8g5qrqvxh6bbmg3443zi8qqjks3q872wyb1zn7n0d765d")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) -- 2.31.1 --=-=-=--