Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package hostapd for openSUSE:Factory checked 
in at 2026-11-23 12:27:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hostapd (Old)
 and      /work/SRC/openSUSE:Factory/.hostapd.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hostapd"

Mon Nov 23 12:27:35 2026 rev:54 rq:1399894 version:2.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/hostapd/hostapd.changes  2026-11-03 
18:02:57.066949297 +0100
+++ /work/SRC/openSUSE:Factory/.hostapd.new.1340718/hostapd.changes     
2026-11-23 12:33:34.115380113 +0100
@@ -1,0 +2,6 @@
+Mon Nov 23 09:09:26 UTC 2026 - Clemens Famulla-Conrad <[email protected]>
+
+- Add RADIUS-Fix-Message-Authenticator-attribute-validatio.patch
+  https://w1.fi/security/2026-5
+
+-------------------------------------------------------------------

New:
----
  RADIUS-Fix-Message-Authenticator-attribute-validatio.patch

----------(New B)----------
  New:
- Add RADIUS-Fix-Message-Authenticator-attribute-validatio.patch
  https://w1.fi/security/2026-5
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hostapd.spec ++++++
--- /var/tmp/diff_new_pack.N2lXbd/_old  2026-11-23 12:33:35.495438267 +0100
+++ /var/tmp/diff_new_pack.N2lXbd/_new  2026-11-23 12:33:35.498438394 +0100
@@ -30,6 +30,8 @@
 Source3:        config
 Source4:        hostapd.service
 Source5:        apparmor-usr.sbin.hostapd
+# UPSTREAM-FIX fix https://w1.fi/security/2026-5
+Patch1:         RADIUS-Fix-Message-Authenticator-attribute-validatio.patch
 BuildRequires:  openssl-devel
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libnl-3.0) >= 3.0

++++++ RADIUS-Fix-Message-Authenticator-attribute-validatio.patch ++++++
>From aa02cfa569477f67f3915c8b9a83d1a7ca93693d Mon Sep 17 00:00:00 2001
From: Jouni Malinen <[email protected]>
Date: Fri, 14 Aug 2026 11:20:34 +0300
Subject: [PATCH] RADIUS: Fix Message-Authenticator attribute validation
Reference: https://w1.fi/security/2026-5

The length of the Message-Authenticator attribute was not verified to be
sufficiently long to contain the HMAC-MD5 value before checking that
value when checking it from received RADIUS messages. This could result
in reading and writing 16 bytes beyond the end of the message buffer
when processing a specifically constructed malformed message. The
written part is a temporary zeroing followed by restoring the original
contents and the main potential impact from this would be process
termination.

Discovered and reported by BreachX Zero Day Labs, using Typhon AI Mil
v2. Contributing Researcher: Vivek Parikh.

Signed-off-by: Jouni Malinen <[email protected]>
---
 src/radius/radius.c |   10 ++++++++++
 1 file changed, 10 insertions(+)

--- a/src/radius/radius.c
+++ b/src/radius/radius.c
@@ -695,6 +695,11 @@ int radius_msg_verify_das_req(struct rad
                return 0;
        }
 
+       if (attr->length != sizeof(*attr) + MD5_MAC_LEN) {
+               wpa_printf(MSG_WARNING, "Invalid Message-Authenticator length");
+               return 1;
+       }
+
        os_memcpy(orig, attr + 1, MD5_MAC_LEN);
        os_memset(attr + 1, 0, MD5_MAC_LEN);
        os_memcpy(orig_authenticator, msg->hdr->authenticator,
@@ -993,6 +998,11 @@ int radius_msg_verify_msg_auth(struct ra
                return 1;
        }
 
+       if (attr->length != sizeof(*attr) + MD5_MAC_LEN) {
+               wpa_printf(MSG_INFO, "Invalid Message-Authenticator length");
+               return 1;
+       }
+
        os_memcpy(orig, attr + 1, MD5_MAC_LEN);
        os_memset(attr + 1, 0, MD5_MAC_LEN);
        if (req_auth) {

Reply via email to