From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id DD1513858C54 for ; Tue, 12 Apr 2022 15:27:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DD1513858C54 Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-640-nYwXTvzpNROchty_Z62jYw-1; Tue, 12 Apr 2022 11:27:57 -0400 X-MC-Unique: nYwXTvzpNROchty_Z62jYw-1 Received: by mail-wr1-f72.google.com with SMTP id v9-20020adfc409000000b002079e379921so1711898wrf.5 for ; Tue, 12 Apr 2022 08:27:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=iXcRo55iaFBsBIx+Vgm8G4xuf6Czr4aFz/cDgAce75I=; b=kMF3WbBKjrwLcvz/eaztHTPReksqP6VE45rPpP7aLERXda/F9EQ1tqq0HFc6vUKViF KrGe9h7Gb/mb5A7JOocomuxdfnHUDXk83pMd1KM9GNlq71JQo2sHiPsm4sEC70rFlYO8 Z0E1LIvum1lsl1rbzWmdAFOJ9IrYsFq559762hC+wd4TO1FoYjDlnZ5/l155ypSiDiJR fvsxFyNNb9RKs1Nk3hxp760Bg4QMd0VTTj/EYlPp42bxjpWh9TxbR/lRysK9ZHrlAL4b JPe8eQWbKQepLhF1ckacK63vsO+FMFqiMFu4LSGmn1jonH6N7yWm/+FyVZl/KhSPdDhh I1+Q== X-Gm-Message-State: AOAM530khJDJ6kf+4BS12v4y9AWeQ/mVGlaWc62ngofNVOR4MAePIkcu zUomALtK2bp9RbQyCSAPLormuDl1j47SKfUc/jJgagrQ8Bkym+g8GyuODXDdIqH8/+l7FeeqW5T 1rTn5EPJJ9/w= X-Received: by 2002:a1c:545a:0:b0:38e:b1d6:9184 with SMTP id p26-20020a1c545a000000b0038eb1d69184mr4602919wmi.32.1649777275983; Tue, 12 Apr 2022 08:27:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0Y4GEGDpqBRpqeAvqqm6/VdL4K0LiVI9MU/EB0NAiCwsMAJEXXE6vzCPYHQ/BaZeeKj+tCg== X-Received: by 2002:a1c:545a:0:b0:38e:b1d6:9184 with SMTP id p26-20020a1c545a000000b0038eb1d69184mr4602908wmi.32.1649777275787; Tue, 12 Apr 2022 08:27:55 -0700 (PDT) Received: from [192.168.1.6] (adsl-2-solo-173-39.claranet.co.uk. [80.168.173.39]) by smtp.gmail.com with ESMTPSA id w5-20020a7bc105000000b0038eb9932dacsm2574087wmi.48.2022.04.12.08.27.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Apr 2022 08:27:55 -0700 (PDT) Message-ID: Date: Tue, 12 Apr 2022 16:27:53 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [CVE] zlib (< 1.2.12) memory corruption To: Luis Machado , binutils@sourceware.org, "gdb@sourceware.org" , gcc@gcc.gnu.org References: From: Nick Clifton In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2022 15:27:59 -0000 Hi Luis, > There is a CVE [1] for zlib < 1.2.12 (released march 27th). > > GCC currently uses zlib 1.2.11, and binutils-gdb imports the zlib directory from GCC. The recommendation is to get it updated to 1.2.12, which contains the proper fix [2]. > Right - I have now updated the binutils-gdb mainline sources with this release. Whilst it is true that the gcc version of zlib sources had diverged slightly from the 1.2.11 release sources, I think that it was just some changes cherry picked from the developments that went in to 1.2.12. So a simple rebase should be safe. Cheers Nick