From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by sourceware.org (Postfix) with ESMTPS id E48823858D39 for ; Tue, 2 Apr 2024 19:54:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E48823858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=baylibre.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E48823858D39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::132 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712087664; cv=none; b=vqun6yuxlGgnuvNEksizqZrO7Yu4NPE/bdhwcojf1mHc7h9G9H3p/ZKZvOkk5iIBsTMChIV7ke9sEI0UzpdMyWQZLFLkdDyzBb0Kz69R8fHnw8LqdjSAjK/6YG564hztDGcyI7BYL3AyR4tHWneITTZ58j5Wv1zgNaf0CXOAERs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712087664; c=relaxed/simple; bh=6MWpTDBigVBAh1h05Qc4novC2kDrxfShRa4I994fQiQ=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=eGZsPYkDTm0Rlk0hmxlceGnGpL3ro6Vuh74QTcGcLJ188CLAKhpPm1PN/D6jDpCrn9Uve1A97QhqOh81WANb1XZvaib2P3GT3I6uZ4ALHAlBJBik+Mtx+Ui5U/SYe65/gJc3YONon3KAoblIzOwuzBQZBXN0sj0X2Pm8wWn2X2Y= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-il1-x132.google.com with SMTP id e9e14a558f8ab-3689933eb2dso25080125ab.1 for ; Tue, 02 Apr 2024 12:54:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1712087661; x=1712692461; darn=gcc.gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=qhOmu9p6sAUifD+xpy2GoftmmRONvE/8Gm1Z3/h4gMg=; b=a06YjijRr5r+V/rK/8A3BawcUJwOFSwzmRL9NycD+JEDljfWo65sKWk4JrDftLQFUD OFDk+1qMe3MvwoV0a+c53jhHLXsVq3FmnnobTQTEdL1axX61rcXZu/DoHboZiFOSr6uc PlFrQsoBOD+iEocETERZ1Cxta/tKeYLaHyzJ7V/LAIhQk3A+fzDy0XwHWf90QYRzX2LU k/HTVR/u0wzjpck0hR1kpJp5idc5CE3IBJKMYt6OHDCY6hfEn4cduEdc+Sa3IriTn+lL wjjBRKKdo3mWY67sZ47j2UBWhCghKjf69uTo5RfaWUqQugv9uoxDxaj2BT+lz1/2gZCK pMXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712087661; x=1712692461; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qhOmu9p6sAUifD+xpy2GoftmmRONvE/8Gm1Z3/h4gMg=; b=vcH3y63uoct9Wlc+9HIiu27Npn9G0XgnqJyeJSGGJjLfNOvrPC7zUxP1c+CsxHiM1h BhuijHvwncmBmkaXx+Lsr/JwD2pgO8A+gP6UGsLqgXabYZYoMEefsEhawwzycCltIjGZ 7DE3MlgPJQaN6g6V65N1BCTgnLA865rN9lWFIBP043L1RwkQLr2ntm4jcOIRcTNAoMFh lLcgZ4FnbNP7zHX2t1nQJoaKbwtgGp35hEMywuBIX34kBwVHeGoUcRZb/UvAttA2Pbdq 1OnKvrgcHGgsZb8Yn1R/HSBK5vASP20RLjmUQuRBH22gyVx6MEQvvdOpaoxRnmGElGWE syEg== X-Gm-Message-State: AOJu0Yylsofm6y6r3LOAs2VEXUs2PhxIysN/r6DB8xA8PFWnGcs/O5Rn lgvkdx5Ey05QD+cG7Lr35I++Ok3ErhWAG/ejrjzybRPVGgV03hVANK3MKJAT+tE= X-Google-Smtp-Source: AGHT+IGmfmVdD5hd1BpBKYtIr3OqwVxmKD1lviUARUU7AibHqDpORRUTrRnUYC/FFFdVlIQX6WJ1DQ== X-Received: by 2002:a92:c26a:0:b0:368:a2cc:1203 with SMTP id h10-20020a92c26a000000b00368a2cc1203mr19121981ild.12.1712087661152; Tue, 02 Apr 2024 12:54:21 -0700 (PDT) Received: from ?IPV6:2601:281:d901:5620:bf41:76d9:1cea:8ac1? ([2601:281:d901:5620:bf41:76d9:1cea:8ac1]) by smtp.gmail.com with ESMTPSA id m16-20020a924b10000000b00369deed83f2sm277031ilg.78.2024.04.02.12.54.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Apr 2024 12:54:20 -0700 (PDT) Message-ID: Date: Tue, 2 Apr 2024 13:54:19 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Sourceware mitigating and preventing the next xz-backdoor To: Mark Wielaard , overseers@sourceware.org Cc: gcc@gcc.gnu.org, binutils@sourceware.org, gdb@sourceware.org, libc-alpha@sourceware.org References: <20240329203909.GS9427@gnu.wildebeest.org> <20240401150617.GF19478@gnu.wildebeest.org> Content-Language: en-US From: Sandra Loosemore In-Reply-To: <20240401150617.GF19478@gnu.wildebeest.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 4/1/24 09:06, Mark Wielaard wrote: > A big thanks to everybody working this long Easter weekend who helped > analyze the xz-backdoor and making sure the impact on Sourceware and > the hosted projects was minimal. > > This email isn't about the xz-backdoor itself. Do see Sam James FAQ > https://gist.github.com/thesamesam/223949d5a074ebc3dce9ee78baad9e27 > (Sorry for the github link, but this one does seem viewable without > proprietary javascript) > > We should discuss what we have been doing and should do more to > mitigate and prevent the next xz-backdoor. There are a couple of > Sourceware services that can help with that. > > TLDR; > - Replicatable isolated container/VMs are nice, we want more. > - autoregen buildbots, it should be transparent (and automated) how to > regenerate build/source files. > - Automate (snapshot) releases tarballs. > - Reproducible releases (from git). > > [snip] While I appreciate the effort to harden the Sourceware infrastructure against malicious attacks and want to join in on thanking everyone who helped analyze this issue, to me it seems like the much bigger problem is that XZ had a maintainer who appears to have acted in bad faith. Are the development processes used by the GNU toolchain components robust enough to cope with deliberate sabotage of the code base? Do we have enough eyes available to ensure that every commit, even those by designated maintainers, is vetted by someone else? Do we to harden our process, too, to require all patches to be signed off by someone else before committing? -Sandra