Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp47204lqb; Tue, 28 May 2024 08:29:09 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUgUHVdLPSxMjw1j5/pTK/T8Okb3RrFxV8HyFsWhUAKu5sq3mdBUr0UbD36NAO+tnD0yoVIeqnKjBswODySo66hyYZ6IedY5UF/vwGhng== X-Google-Smtp-Source: AGHT+IFO+j8U41ibjRog386BYLIJDk7/fOxyTeu1Fr1+Erqh0NL7wrRpEIs+p14qmijt2XoN3uz1 X-Received: by 2002:a17:907:7412:b0:a5a:769d:1f8f with SMTP id a640c23a62f3a-a6265115f1amr677186066b.68.1716910149109; Tue, 28 May 2024 08:29:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1716910149; cv=none; d=google.com; s=arc-20160816; b=lgJ1zweUkQx84DB4QwJvrWpvibArIs9ESUT9R2bzHATXusvaaCvhVcolcuLS/YNtPw MEZgovztQ989gxw2XPKILrtpjrfQnPCsePfncBYPaBHuB+q2vmeF64hLBdT6mIf8hpc4 zcQbGsVRVAq8H4FawUI41IC2tHqllVz48QQvnX2CjetW/iwrE1lVwL4+lU+bb+R3Ar0b 2zkLtZdCdoCpf47E4wlLw6WUChruYiERCxYJDxwSgY4LBtaQclh0gCf038WfVLI6wT4a mqh5IkqbiIh0fFm21N3cg1A4KaRojwMl05LaTi34HWzIuTN+EWJUycXgTU164oQvcDlL 9ALg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:content-disposition:mime-version:message-id:to:from:date :dkim-signature:delivered-to:delivered-to:reply-to:list-id :list-subscribe:list-unsubscribe:list-help:list-post:precedence :mailing-list; bh=AboT7JT61PFgr8r8mTxdXFw/BxnuHRCChhAiYFjd6bM=; fh=9jsPTyo6edd9xvAeG+KFFrRrXMmgB/RdwUKOrvy9dcA=; b=eKNk0MNzBBrRXZF64klM35rvfeYpT3j5ABbERMpy8VTsoSqGtuoBq6uh07QueLH6dQ IZphLA8YVZhhV6ZQtthjpIJMO0tZYG7T11kRXY/RA2elziyQxudEVpalN9tDqT+hUAcq vbgFX9BAfAc2en1u5spndT27djpLB0TY+qoksRIT/JPoxJXKuu+LvNQ5GRdmccckmX+Y zBcE30qm4mdEkLxrpqhybCimv14RPzbEeaOM0xI/kFoXtL/PdPExp1IXo+oTY2fRM/Yo wrCxl8JViEFixtVktDbj4zSJA3De0HnCSI8xKUuLR4Ihz0AKCiT40hoN6th7IlC9b2KV lsww==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@openssl.org header.s=dkim-2020-2 header.b=QcSfFbSP; spf=pass (google.com: domain of oss-security-return-30171-linux.lists.archive=gmail.com@lists.openwall.com designates 193.110.157.125 as permitted sender) smtp.mailfrom="oss-security-return-30171-linux.lists.archive=gmail.com@lists.openwall.com"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=openssl.org Return-Path: Received: from second.openwall.net (second.openwall.net. [193.110.157.125]) by mx.google.com with SMTP id a640c23a62f3a-a626cc3819asi495119766b.462.2024.05.28.08.29.09 for ; Tue, 28 May 2024 08:29:09 -0700 (PDT) Received-SPF: pass (google.com: domain of oss-security-return-30171-linux.lists.archive=gmail.com@lists.openwall.com designates 193.110.157.125 as permitted sender) client-ip=193.110.157.125; Authentication-Results: mx.google.com; dkim=fail header.i=@openssl.org header.s=dkim-2020-2 header.b=QcSfFbSP; spf=pass (google.com: domain of oss-security-return-30171-linux.lists.archive=gmail.com@lists.openwall.com designates 193.110.157.125 as permitted sender) smtp.mailfrom="oss-security-return-30171-linux.lists.archive=gmail.com@lists.openwall.com"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=openssl.org Received: (qmail 9528 invoked by uid 550); 28 May 2024 15:28:50 -0000 Mailing-List: contact oss-security-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: oss-security@lists.openwall.com Delivered-To: mailing list oss-security@lists.openwall.com Delivered-To: moderator for oss-security@lists.openwall.com Received: (qmail 4037 invoked from network); 28 May 2024 15:26:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openssl.org; s=dkim-2020-2; t=1716909973; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type; bh=AboT7JT61PFgr8r8mTxdXFw/BxnuHRCChhAiYFjd6bM=; b=QcSfFbSPQuTFoSxJtaJxsep9smg1ZinGsys3jWzKZ2WPmhId3dBKqvmwjDgEBqUEuvfhf1 qCHTAJl0ffziumjtKM4Nn+hbh8EoUf7j1C7uPuvuIJ/vnkJ8biV2LV3o8Ji7Umhqshtr1I +8M+mOx5LSY4OdoPG+0WLspfFJq8NcbpfiZgKArOgbzCxX8Rm78lHQhxaC9lpdQH4q5UGH 0uUDM7EH/r7IiJodJqoJCzQQ5OwedpWGhHux3kdowCMs4qVqUI+rAGcqQB1Ur3D7xxsl7M IH6gk4vQY+CwwE9j44qigrtIIqxX56o6wNQBm1MS1qeK+lZLhoP300NsJy6kKw== Date: Tue, 28 May 2024 15:26:13 +0000 From: Matt Caswell To: oss-security@lists.openwall.com Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [oss-security] OpenSSL Security Advisory -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 OpenSSL Security Advisory [28th May 2024] ========================================= Use After Free with SSL_free_buffers (CVE-2024-4741) ==================================================== Severity: Low Issue summary: Calling the OpenSSL API function SSL_free_buffers may cause memory to be accessed that was previously freed in some situations Impact summary: A use after free can have a range of potential consequences such as the corruption of valid data, crashes or execution of arbitrary code. However, only applications that directly call the SSL_free_buffers function are affected by this issue. Applications that do not call this function are not vulnerable. Our investigations indicate that this function is rarely used by applications. The SSL_free_buffers function is used to free the internal OpenSSL buffer used when processing an incoming record from the network. The call is only expected to succeed if the buffer is not currently in use. However, two scenarios have been identified where the buffer is freed even when still in use. The first scenario occurs where a record header has been received from the network and processed by OpenSSL, but the full record body has not yet arrived. In this case calling SSL_free_buffers will succeed even though a record has only been partially processed and the buffer is still in use. The second scenario occurs where a full record containing application data has been received and processed by OpenSSL but the application has only read part of this data. Again a call to SSL_free_buffers will succeed even though the buffer is still in use. While these scenarios could occur accidentally during normal operation a malicious attacker could attempt to engineer a stituation where this occurs. We are not aware of this issue being actively exploited. The FIPS modules in 3.3, 3.2, 3.1 and 3.0 are not affected by this issue. OpenSSL 1.0.2 is also not affected by this issue. OpenSSL 3.3, 3.2, 3.1, 3.0 and 1.1.1 are vulnerable to this issue. OpenSSL 3.3 users should upgrade to OpenSSL 3.3.1 once it is released. OpenSSL 3.2 users should upgrade to OpenSSL 3.2.2 once it is released. OpenSSL 3.1 users should upgrade to OpenSSL 3.1.6 once it is released. OpenSSL 3.0 users should upgrade to OpenSSL 3.0.14 once it is released. OpenSSL 1.1.1 users should upgrade to OpenSSL 1.1.1y once it is released (premium support customers only). Due to the low severity of this issue we are not issuing new releases of OpenSSL at this time. The fix will be included in the next releases when they become available. The fix is also available in commit e5093133c3 (for 3.3), commit c88c3de510 (for 3.2), commit 704f725b96 (for 3.1) and commit b3f0eb0a29 (for 3.0) in the OpenSSL git repository. It is available to premium support customers in commit f7a045f314 (for 1.1.1). This issue was reported on 10th April 2024 by William Ahern (Akamai). The fix was developed by Matt Caswell and Watson Ladd (Akamai). General Advisory Notes ====================== URL for this Security Advisory: https://www.openssl.org/news/secadv/20240528.txt Note: the online version of the advisory may be updated with additional details over time. For details of OpenSSL severity classifications please see: https://www.openssl.org/policies/secpolicy.html -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhlersmDwVrHlGQg52cTSbQ5gRJEFAmZV9w0ACgkQ2cTSbQ5g RJFleggAunT15ijQEKk29rztc82qEl01c/mDCAKCNLD0WqCr/D00lIjYhOjAcj7W f4h9c7N8TqX4fkc1pBmV3KMM4qCzMkNdFE+lxYiDn2A/HAsZgSmh+WGpcMju7obI 5TvaINrBZbndXTa3o+10Wo4QT7oVGji/WLwsc06QzofZRLWj7BxU1h7i2JDR9Gd/ SYkg5ivgwixAgMzxpy7nQetQYKAfl6spKSUDHDymkYk0ATTvr9P14pQ5+Sr2T/gT V8V5uTOYcxjpJCRipUbUPDN5ZUy379thry3XmR9wd2GE0AeXoVOJQMpOVK7TDhzm TFookLZ04kCDtSU6gM0XXI8WAoEDUQ== =UFjh -----END PGP SIGNATURE-----