From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 69C6D3858D3C; Wed, 13 Sep 2023 12:11:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 69C6D3858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1694607092; bh=D9ygJbcBgV7DJTKUz0wvtDEcYkeDiY1E9R22PLOe7bk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=l0srUYViJ9ZOV86uZytOIVxiufsxr+WDXaXe3E1gAGdCuY6azd7ltmFmy5M0T7s6Z 5Y08W5UeHP7fe45bljrqBw41x/YhNhE5Jc0OL63CuiiUnKQFeYPFWLE8B7qZ6W1nTX CQClZ8oWoeD2EfhkoIRO1EUnNnpzuIs3JEHJ2Hc0= From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug network/30842] Stack read overflow in getaddrinfo in no-aaaa mode (CVE-2023-4527) Date: Wed, 13 Sep 2023 12:11:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30842 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3Dbd77dd7e73e3530203b= e1c52c8a29d08270cb25d commit bd77dd7e73e3530203be1c52c8a29d08270cb25d Author: Florian Weimer Date: Wed Sep 13 14:10:56 2023 +0200 CVE-2023-4527: Stack read overflow with large TCP responses in no-aaaa = mode Without passing alt_dns_packet_buffer, __res_context_search can only store 2048 bytes (what fits into dns_packet_buffer). However, the function returns the total packet size, and the subsequent DNS parsing code in _nss_dns_gethostbyname4_r reads beyond the end of the stack-allocated buffer. Fixes commit f282cdbe7f436c75864e5640a4 ("resolv: Implement no-aaaa stub resolver option") and bug 30842. --=20 You are receiving this mail because: You are on the CC list for the bug.=