Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9BDEFC433EF for ; Fri, 7 Jan 2022 17:09:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 10FBD42991; Fri, 7 Jan 2022 17:09:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bx0cLdtmU3SJ; Fri, 7 Jan 2022 17:08:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 6545C42987; Fri, 7 Jan 2022 17:08:58 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 4CE751BF35F for ; Fri, 7 Jan 2022 17:08:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 3B19960AC4 for ; Fri, 7 Jan 2022 17:08:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eivBEorCmHf4 for ; Fri, 7 Jan 2022 17:08:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by smtp3.osuosl.org (Postfix) with ESMTPS id 0D0F260AB7 for ; Fri, 7 Jan 2022 17:08:54 +0000 (UTC) Received: (Authenticated sender: peter@korsgaard.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 856F660009; Fri, 7 Jan 2022 17:08:51 +0000 (UTC) Received: from peko by dell.home with local (Exim 4.92) (envelope-from ) id 1n5sjS-0002LF-PD; Fri, 07 Jan 2022 18:08:50 +0100 From: Peter Korsgaard To: Fabrice Fontaine References: <20220106223905.1069334-1-fontaine.fabrice@gmail.com> Date: Fri, 07 Jan 2022 18:08:50 +0100 In-Reply-To: <20220106223905.1069334-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 6 Jan 2022 23:39:05 +0100") Message-ID: <87tuefmq1p.fsf@dell.be.48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Subject: Re: [Buildroot] [PATCH 1/1] package/liburiparser: security bump to version 0.9.6 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bernd Kuhls , buildroot@buildroot.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" >>>>> "Fabrice" == Fabrice Fontaine writes: > - Fixed: [CVE-2021-46141] > Fix a bug affecting both uriNormalizeSyntax* and uriMakeOwner* > functions where the text range in .hostText would not be duped using > malloc but remain unchanged (and hence "not owned") for URIs with > an IPv4 or IPv6 address hostname; depending on how an application > uses uriparser, this could lead the application into a use-after-free > situation. > As the second half, fix uriFreeUriMembers* functions that would not > free .hostText memory for URIs with an IPv4 or IPv6 address host; > also, calling uriFreeUriMembers* multiple times on a URI of this > very nature would result in trying to free pointers to stack > (rather than heap) memory. > - Fixed: [CVE-2021-46142] > Fix functions uriNormalizeSyntax* for out-of-memory situations > (i.e. malloc returning NULL) for URIs containing empty segments > (any of user info, host text, query, or fragment) where previously > pointers to stack (rather than heap) memory were freed. > https://github.com/uriparser/uriparser/blob/uriparser-0.9.6/ChangeLog > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot