From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nicolas Martyanoff Newsgroups: gmane.emacs.devel Subject: Re: CVE-2021-36699 report Date: Tue, 25 Apr 2023 09:13:34 +0200 Message-ID: <87o7nc77tt.fsf@valhala.localdomain> References: <40-63e3c600-3-2d802d00@111202636> <01070187b503303f-1657dcaa-4f53-47da-9679-2f68a682d447-000000@eu-central-1.amazonses.com> <01070187b52a3165-eeb31a4e-fba7-4290-850a-c73ab11eb43f-000000@eu-central-1.amazonses.com> <874jp4ecg6.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32847"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cc: fuomag9 , emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 25 09:14:11 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1prCsN-0008NA-GK for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Apr 2023 09:14:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prCrv-0004fh-OH; Tue, 25 Apr 2023 03:13:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prCrt-0004em-Pk for emacs-devel@gnu.org; Tue, 25 Apr 2023 03:13:41 -0400 Original-Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1prCrr-0001bD-Mf for emacs-devel@gnu.org; Tue, 25 Apr 2023 03:13:41 -0400 Original-Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-3f1950f5676so42455355e9.3 for ; Tue, 25 Apr 2023 00:13:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=n16f-net.20221208.gappssmtp.com; s=20221208; t=1682406816; x=1684998816; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=VM7KFi8MRY7sfJHYFTSycMDiVr+fJxo6rdeC4kX7hI8=; b=N7Mpyi7U1fhbnLciQUa5zJEmS7g9iQxx+DsOs/iTE7lgh4MlkBq/yQsB9g1ShXOuqh DnajqSZc2aUaq+wOymgScemEV0Sakdw/vtEIzp3EdnxGojA4nD1ibRgJCj0gVVpzhKpp XPfBca/Ts6TjmsF4oOtzjlUA0kX6aIzOWTN+FkC68U8VMuFQeLlgDuZsKAi7wtJelsQo IuI3gU2nQ/4xV3jDOo/C4pq7D8kbUkHmAXzVUe5DxGtH8kKPHWfQgbrRMzmGBXiLR5ie ATKjDeDecHI1aqfRrAFu3wzR3UyE1pRfTGDBlAbn6xwexCUL96xkeHqG3raqQiSfzUFa nHFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682406816; x=1684998816; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=VM7KFi8MRY7sfJHYFTSycMDiVr+fJxo6rdeC4kX7hI8=; b=f+MlrT1XAERw1eR+sEEPlllnDTL/faIb0S1AU1NiEOp5MC/Ktg1iWZ+KZcQxpwEXWC 9E/Jvx+BYkkJv9GusM1gPcL6zoBklQB31hgZNx9cDqiGqwVbzTlIKXCK0YtQ9+LIIvib j2f8izNltvbfjTwkCQAZBGC6OfHvg44Io1NKmOXV+lps7BuO9EeTmmqikUsoguDIuzS3 w6NjYjZ4HtLRdTu6NaEu2ZDTCUHGr10ClRgXJn468VFJaPrxriPJRRe/FuZ7qGbdfsM9 Z5hKFxLyS4WKq+rxPX1ra6VJbPOkQJ3V0ZKmKCanVP9EQIhO1jfBFwEM+1snaRVu1tX/ 1tqw== X-Gm-Message-State: AAQBX9dk4BA4QEFkZDMalzteVhLP3WxUzn/gHzG93wF8RFMeaG6s49vq nKIZAKFmaqlGjfywvezqVBOzE4cfn/UiupvmvtcsOA== X-Google-Smtp-Source: AKy350YKlqQzt0QFVZqwzRKIp1hPRkzqzKHF/GRBdw/0UrFZ+ZqWCwFkW3722kmMGHWzoSnPMWFJEA== X-Received: by 2002:a1c:7908:0:b0:3f1:6ead:e389 with SMTP id l8-20020a1c7908000000b003f16eade389mr9664155wme.30.1682406816024; Tue, 25 Apr 2023 00:13:36 -0700 (PDT) Original-Received: from valhala (2a01cb04000943008cd04fe2c793033e.ipv6.abo.wanadoo.fr. [2a01:cb04:9:4300:8cd0:4fe2:c793:33e]) by smtp.gmail.com with ESMTPSA id s9-20020adfdb09000000b00301a351a8d6sm11858473wri.84.2023.04.25.00.13.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Apr 2023 00:13:35 -0700 (PDT) In-Reply-To: <874jp4ecg6.fsf@yahoo.com> (Po Lu's message of "Tue, 25 Apr 2023 13:51:53 +0800") Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=nicolas@n16f.net; helo=mail-wm1-x32f.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:305637 Archived-At: Po Lu writes: > If you create a malformed dump file, of course Emacs cannot possibly > work. Here, the buffer overflow is not even a bug: signature checks are > already there to prevent a dump file created for a different copy of > Emacs from being loaded by mistake. If you deliberately create a > malformed dump file, Emacs does not guarantee correct operation. Is there a reason why Emacs does not validate dump files while reading them as any other program with any other data format? Nothing good ever comes from buffer overflows. > We are trying to put together two releases of a very large piece of > software at the same time, and really should not be wasting our time on > these CVE reports. It would save us a great deal of trouble if whoever > runs the CVE registry stopped tracking security ``issues'' with Emacs. I'm aware that most people simply do not care about security, and it is your right to do the same. However I sincerely hope it is not the view of the GNU Emacs project in general. -- Nicolas Martyanoff https://n16f.net nicolas@n16f.net