From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dog.elm.relay.mailchannels.net (dog.elm.relay.mailchannels.net [23.83.212.48]) by sourceware.org (Postfix) with ESMTPS id EA7DC3858D20; Thu, 13 Apr 2023 15:02:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EA7DC3858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gotplt.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id B947710295E; Thu, 13 Apr 2023 15:02:08 +0000 (UTC) Received: from pdx1-sub0-mail-a307.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 8FCAE10295C; Thu, 13 Apr 2023 15:02:07 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1681398127; a=rsa-sha256; cv=none; b=A/rqmuG9LdVuFhAqxwELXCWbmirx9fy0xTe8uryFDQotH0wNgREtG7j515xmRf//uOz3xf HAC2vc8DzTNbw2Bv8PMk1nlGl7c8LtGjG2LXShg9edchE3HW+UkeGySgBmQzsahC0SY3X9 B0OFiPTKO0/odCy+oJj5KCio7x/OOqrVpxs0zWnCtLmPB1+L9Ivn8JV7AvSL0CYcyIoidj ezaCJeeGAzDYG03S4j2clhF+vowH0X7XaqiPDbRhH9IMZBtnYvt72elVN/OyLLKVyVhiWr doiRv5ovgojSEC2u3cN1F3/+FuzPbsMGbncuGcdFqrKRKudZBBtj2exj0MRWYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1681398127; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=dz/MltsC/TDFK7Gw/I0oO5S97Sv8LB4kXrAMAjfzo34=; b=LWiMKv7smvHNByswGb8DeWSePN+7YWa27lqd6Emo73oqN4ucYz8Ih17Tb5E22hF1a3d7wc G+Sdq20E19yfoyhYYc/zvEIZFWelmdlkrFhAF5SN+fWGq1p/Cb+c9/Gqbcg9SMpJFjpdky 749MyOUeZ5nU2ggLFCVeLFnWI7t3XyxcJ8gBlbg2vyAAlCUnGdRz7H/ZCNr98hBHdK8C7E MRoXT7+MKj/oXEgOfRHDAxUTkacs9Xc5qQ2qetigSAAGLwAWe2gpOwbfahflNCFZVVgj++ PDbYYf1zsJvUO+Ex2/c8sZOiiU9LzoIFJUvXaNclzIUeifLO/Obe1HeE4Yc/fw== ARC-Authentication-Results: i=1; rspamd-7f66b7b68c-gmsjp; auth=pass smtp.auth=dreamhost smtp.mailfrom=siddhesh@gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Print-Shrill: 0676cb474782a21c_1681398128544_1393961754 X-MC-Loop-Signature: 1681398128544:2874325614 X-MC-Ingress-Time: 1681398128543 Received: from pdx1-sub0-mail-a307.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.116.105.136 (trex/6.7.2); Thu, 13 Apr 2023 15:02:08 +0000 Received: from [192.168.2.12] (bras-vprn-toroon4834w-lp130-09-174-91-45-153.dsl.bell.ca [174.91.45.153]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by pdx1-sub0-mail-a307.dreamhost.com (Postfix) with ESMTPSA id 4Py2qL6MXNzFN; Thu, 13 Apr 2023 08:02:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gotplt.org; s=dreamhost; t=1681398127; bh=FXKqUDvAhJZcpl60uFSZSq+6ZNr81jVxuhKzSvP0c30=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=T1vdIoRNXHAuIs59Arpohw/8pSL7D4BEW8UaNaDot8dVk3VRLPXQQTtXGFO1mDlQc A4t5KmKwWLuP3qZRpQaxj4qxXKxW2Ri+N3kiITM2RAw54IA02EVU9o6VU1aICJHm+j l1ZjKUPaSe37yxE0jRCLooxI8rxAYINX6roi9+ShlXHfF44xhVaF7ZATXCB2mQLX8a RZQ0Ytfo4cHFb4clniCN8aRWgu/LmMsmM8TuQ+zDrEUokWl8a4jeyDHQTRpCQNbmFZ Tl6faUdLY4jXQanp9GK7IvkHI4Y6QBy6Z69TxZwB5yYrRfXH8T+X1EDjPe+hxW6B4k +7QK1nHJ1TowQ== Message-ID: Date: Thu, 13 Apr 2023 11:02:05 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: RFC: Adding a SECURITY.md document to the Binutils Content-Language: en-US To: Richard Earnshaw , Nick Clifton , Binutils Cc: "gdb@sourceware.org" References: <1c38b926-e003-0e21-e7f1-3d5dbec2aabf@redhat.com> <5b147005-bd28-4cf9-b9e7-479ef02cb1ad@foss.arm.com> <5d044987-39eb-a060-1b2b-9d07b1515e7d@gotplt.org> <73bc480a-a927-2773-8756-50350f76dfbf@gotplt.org> <4ed86e65-0b7f-11d4-8061-2c5d0b1e147e@foss.arm.com> <7b6b10f8-e480-8efa-fbb8-4fc4bf2cf356@gotplt.org> <0224757b-6b17-f82d-c0bf-c36042489f5e@foss.arm.com> <01e846c0-c6bf-defe-0563-1ed6309b7038@gotplt.org> <2d4c7f13-8a35-3ce5-1f90-ce849a690e66@foss.arm.com> <01b8e177-abfd-549e-768f-1995cab5c81d@gotplt.org> From: Siddhesh Poyarekar In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3027.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MEDICAL_SUBJECT,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no 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 2023-04-13 10:50, Richard Earnshaw wrote: > No, whilst elf can be executed, objdump should never be doing that: it's > a tool for examining a file, not running it.  You have to have a tool > that can safely examine the contents of an elf file or you can never > verify it for issues - opening it up in emacs to examine the contents is > not the way to do that :) You can verify it for issues, in a sandbox. > But all that is beside the point.  The original case I gave was a > /corrupt/ elf file that caused a buffer overrun in the objdump binary. ... and that's a robustness issue. Any buffer overrun in any program could in theory be exploited to send out files. Sid