From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jhflW3RmRz2ys6 for ; Sat, 05 Dec 2026 20:16:39 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR2" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jhflP4tW7z2yFn for ; Sat, 05 Dec 2026 20:16:33 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4jhflM6XmQz6rQ; Sat, 05 Dec 2026 20:16:31 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1796501792; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/+WOCj5hW/QoFtfoNJdVlN302EDFy49lvn2XCH7JA0M=; b=umYa2qIZZYRKz4mN01QvY2tSUyVHYKEfV43weKdXISa/ulh6xKWedlzA1xrw2A8QDrCw+b R7QtcJmH0mmM6gAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1796501792; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/+WOCj5hW/QoFtfoNJdVlN302EDFy49lvn2XCH7JA0M=; b=SzbpVELbEmXduanozB6MxEURQHK5+gyayYufQxJnYdu7iHWDPGxajkWJS36+AXLfdiwBRQ v8i6qQvomEdw0Ikq8+0HJQPxmKWFf3m2j3sql/6mKbMeFnU54EPdDR6ehosQfPzGs4Oi3h mJ4euxZ6h56+4ykKfNWz4F3oCeH6gThckl+68JUOj87otvqY+jRff7nH6kK5DzgyQmZIkP 0MV9omhFglhldOaW8GTDFffPDu1oTc2prveTxA4OnshDsV/0lLRsCbQpNkUcCAizcb1yKg vY6Ns8OIyaln41meUHL4UvTC3cSS2NVj7H2dHXENo2j4GJeRNP3fbLiW+gSCGQ== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] openvpn: Update to version 2.7.10 Date: Sat, 5 Dec 2026 21:16:19 +0100 Message-ID: <20261205201625.2213794-11-adolf.belka@ipfire.org> In-Reply-To: <20261205201625.2213794-1-adolf.belka@ipfire.org> References: <20261205201625.2213794-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit - Update from version 2.7.9 to 2.7.10 - No change in rootfile - 4 CVE fixes, one of thes in user-visible changes/new features - Changelog 2.7.10 Security fixes avoid crash bug on sufficiently-malformed incoming UDP packets (CVE-2026-142094). Those could be sent from hosts on the same link as an OpenVPN server, or by authenticated TAP VPN clients through the tunnel. (Issue found & fix provided by Razvan Cojocaru razvanc@mailbox.org) avoid CPU starvation bug in TLS handshake on mbedTLS builds when receiving oversized certificiates (CVE-2026-135412). (Issue reported by Arturs Parker and Jim Biniyaz, ResilientX Security, tracked in Github: OpenVPN/openvpn-private-issues#187) harden DNS config mechanism (--dns-updown + runner) on Non-Windows- Platforms mechanisms against abuse (CVE-2026-142125) (Issue reported by a number of security researchers: Paul Jenkins Paul@northit.co.uk Deri Haerudi abcderyscreenprinting@gmail.com Bhabani Sankar Das 007bsd@proton.me) Bug fixes multi: don't let compression corrupt queued broadcast packets Some compression modes modified the outgoing packet in-place, and for multicast packets that meant "after the first outgoing send, all further packets were broken" (GH #461) tapctl: don't crash on missing or oversized argument to --hwid dco: fix handling of "status" command on the management-interface during a reconnect with no active c2.tls_multi. In some circumstances it would just return "nothing" (confusing managment clients), in other circumstances it could trigger an ASSERT() in dco_freebsd.c, or a NULL-pointer crash in dco_linux.c (GH #1146). clinat: locate the TCP/UDP header via the IP header length (fixing client-nat for IP packets with IP options set) win32: options: let the interactive service add routes again Up to 2.7.8, openvpn.exe would ignore --route-method when being run from service, so it did no harm. With 2.7.9, argument ordering was changed, leading to client connection failures if --route-method is in the config (GH #1151) socket_util: check the address family in addrlist_match() This could lead to a stack over-read in certain conditions, but no malicious effects could be achieved. ssl_openssl: don't log inline CRL contents An inline config would log the wrong string, ending up with the full CRL in the log, not just the name / <> tag route: initialize the table of block-local routes Such routes could end up in a non-default routing table on Linux with SITNL. User-visible Changes / New features incoming certificates with a serial number that is longer than 40 bytes are now always rejected (CVE-2026-135412 fix) - this is unlikely to have negative effects, as RFC5280 forbids "more than 20" already. implement multi-line reponses for pkcs11-id commands, bringing those in line with the normal command/response/status protocol. Only activated for management-clients that use "version 7" management. multi: raise the open files limit for --max-clients On a TCP server that has a --max-clients setting above the number of allowed file descriptors (one FD needed per client), at some point FDs would run out and accept() starts to fail. This change checks the limits set and tries raising the system limit. If that's not possible, clearly log the problem. (GH #1148) ssl_verify: remove script temp files on all exit paths manage: fix "cr-response" typo in unsupported command error sitnl: clear inet_address_t locals with CLEAR() (zero-initializing unions in C with "union x = {0}" will not clear the full memory, just the first member, leading to issues with IPv6 routes) reflect_filter: initialise warning_displayed in the rate limiter comp: use the wire byte when escaping v2 uncompressed packets This would lead to broken packets starting with 0x50 on stub-v2 and lz4-v2 compression (triggerable in TAP mode with MAC destinations starting with 0x50) Building/Testing improvements t_client: do not abort script run if one interface times out on "waiting for tentative addresses to disappear" (GH #1161) backport (all) t_client.sh changes from master Code improvements/general hardening win32: openvpnserv: keep NRPT exclude data if one address family fails win32: openvpnserv: check room for the DHCPv6 name server separator pkcs11_openssl: free the BIO in pkcs11_certificate_serial() OpenSSL: unload providers before freeing the options win32: openvpnmsica: don't reuse the freed adapter address list resolve: store the address family in --preresolve cache entries (missing a field initialization would make the cache never find anything) win32: openvpnserv: don't use stale data for NRPT exclude rules Fix two cppcheck/printf-style issues found in master win32: openvpnserv: check for a leading non-option in the startup data Wipe auth token and PEM key copies before freeing them manage: free ext_cert_input in man_connection_close() win32: openvpnserv: zero name server bufs with ZeroMemory options: check permission for --route-ipv6-gateway console_systemd: treat read() error as failure (and not as "empty password") pkcs11: bound certificate size in pkcs11_management_id_get() options: share the reset code of remove_option() and update_option() xkey_digest: free the EVP_MD when EVP_Digest() fails dco_linux: check ovpn_dco_nlmsg_create() result in new/get peer contrib, sample: drop SysV-era init scripts win32: openvpnserv: keep IPv6 name servers in NRPT exclude rules auth-pam: wipe and free partial responses on conversation failure win32: openvpnserv: reject a config file passed without --config auth-pam: Include dlfcn.h for dlerror() (un-break configure --enable-pam-dlopen) Check the result of unchecked allocations in the server Ensure that a malloc failure, no matter where, is properly handled (usually by a FATAL error) (GH #1142) tls_crypt: Wipe the tls-crypt-v2 client key copies ssl_openssl: free what PKCS12_parse() returns ssl_mbedtls: wipe private key password buffer after use push_util: use string_alloc() instead of a local gc_strdup() tls_crypt: print tls-crypt-v2 client key hint before CRYPT_ERROR win32: openvpnserv: always free the domains in UndoDnsSearchDomains() win32: openvpnserv: only remove search domains that were added ssl_verify: reject an empty certificate fingerprint tls: reject incoming reneg request if primary key is not fully valid This could confuse the authentication machinery, leading to non-functional keys later on proxy: free proxy_authenticate in http_proxy_close() win32: openvpnserv: close the NRPT base key in HandleDNSConfigNrptMessage() dco_linux: clear the context, not the pointer, in ovpn_dco_uninit_netlink() crypto: Wipe the struct key_parameters copies after use ssl: Wipe the key source material in key_state_free() Long-term code maintenance dco_win: use CM_* case labels when switching on context mode ssl: fix MSVC C4047 in key_method_2_read() Recent MSVC improvements made completely-valid and unambigous code create a warning, failing -Werror builds Signed-off-by: Adolf Belka --- lfs/openvpn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/openvpn b/lfs/openvpn index a511fc281..2246b68bc 100644 --- a/lfs/openvpn +++ b/lfs/openvpn @@ -24,7 +24,7 @@ include Config -VER = 2.7.9 +VER = 2.7.10 THISAPP = openvpn-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 543946533cac5805698f9397d066fe99c8d35e3aadc530c8239b2a586cff7ccbc0b0f60cb061c95a8934e2cfd12b3ebfef887ed76f51906ce4378882a0f418c2 +$(DL_FILE)_BLAKE2 = 1e89fbc062ef3fe30d4f5138c3e0c4762dce0fcb200ad0f6b530557b00153b9b89939709feaf5e038dcb56e20de1ab44d709baa3910e19ca93576db0400d8100 install : $(TARGET) -- 2.56.1