From f6445dc94da185b3d1ee283f0ca0a34c4e1986cc Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Tue, 26 Sep 2023 07:38:07 -0400 Subject: [PATCH 2/4] Document CVE-2023-4806 and CVE-2023-5156 in NEWS These are tracked in BZ #30884 and BZ #30843. Signed-off-by: Siddhesh Poyarekar (cherry picked from commit fd134feba35fa839018965733b34d28a09a075dd) --- NEWS | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/NEWS b/NEWS index dfee278a9c..f1b1b0a3b4 100644 --- a/NEWS +++ b/NEWS @@ -15,6 +15,15 @@ Security related changes: 2048 bytes, getaddrinfo may potentially disclose stack contents via the returned address data, or crash. + CVE-2023-4806: When an NSS plugin only implements the + _gethostbyname2_r and _getcanonname_r callbacks, getaddrinfo could use + memory that was freed during buffer resizing, potentially causing a + crash or read or write to arbitrary memory. + + CVE-2023-5156: The fix for CVE-2023-4806 introduced a memory leak when + an application calls getaddrinfo for AF_INET6 with AI_CANONNAME, + AI_ALL and AI_V4MAPPED flags set. + The following bugs are resolved with this release: [30723] posix_memalign repeatedly scans long bin lists -- 2.33.0