public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH] openvpn: Update to version 2.7.10
Date: Sat,  5 Dec 2026 21:16:19 +0100	[thread overview]
Message-ID: <20261205201625.2213794-11-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20261205201625.2213794-1-adolf.belka@ipfire.org>

- 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 <anything> 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 <adolf.belka@ipfire.org>
---
 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



  parent reply	other threads:[~2026-12-05 20:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-05 20:16 [PATCH] bird: Update to version 3.4.1 Adolf Belka
2026-12-05 20:16 ` [PATCH] core208: Ship ntfs-3g Adolf Belka
2026-12-05 20:16 ` [PATCH] core208: Ship openvpn Adolf Belka
2026-12-05 20:16 ` [PATCH] core208: Ship pam Adolf Belka
2026-12-05 20:16 ` [PATCH] core208: Ship vim Adolf Belka
2026-12-05 20:16 ` [PATCH] core208: Ship xz Adolf Belka
2026-12-05 20:16 ` [PATCH] flex: Update to version 2.7.16 Adolf Belka
2026-12-05 20:16 ` [PATCH] haproxy: Update to version 3.5.0 Adolf Belka
2026-12-05 20:16 ` [PATCH] libvirt: Update to version 12.10.0 Adolf Belka
2026-12-05 20:16 ` [PATCH] ntfs-3g: Update to version 2026.11.30 Adolf Belka
2026-12-05 20:16 ` Adolf Belka [this message]
2026-12-05 20:16 ` [PATCH] pam: Update to version 1.7.4 Adolf Belka
2026-12-05 20:16 ` [PATCH] samba: Update to version 4.25.2 Adolf Belka
2026-12-05 20:16 ` [PATCH] tshark: Update to version 5.0.0 Adolf Belka
2026-12-05 20:16 ` [PATCH] vim: Update to version 9.2.1470 Adolf Belka
2026-12-05 20:16 ` [PATCH] xz: Update to version 5.8.5 Adolf Belka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261205201625.2213794-11-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox