Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package apache2-mod_auth_mellon for 
openSUSE:Factory checked in at 2026-12-05 19:11:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache2-mod_auth_mellon (Old)
 and      /work/SRC/openSUSE:Factory/.apache2-mod_auth_mellon.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache2-mod_auth_mellon"

Sat Dec  5 19:11:09 2026 rev:7 rq:1403156 version:0.19.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/apache2-mod_auth_mellon/apache2-mod_auth_mellon.changes
  2024-12-19 21:42:04.968292980 +0100
+++ 
/work/SRC/openSUSE:Factory/.apache2-mod_auth_mellon.new.1340718/apache2-mod_auth_mellon.changes
     2026-12-05 19:13:47.210743401 +0100
@@ -1,0 +2,9 @@
+Fri Dec  4 18:24:40 UTC 2026 - Petr Gajdos <[email protected]>
+
+- Update to version 0.19.2:
+  * CVE-2026-133166: Redirect URL validation bypass caused by
+    leading whitespace in Location headers.
+  * Accept hyphens in host names in mellon_create_metadata.sh.
+  * Documentation updates and improvements.
+
+-------------------------------------------------------------------

Old:
----
  mod_auth_mellon-0.19.1.tar.gz

New:
----
  mod_auth_mellon-0.19.2.tar.gz

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

Other differences:
------------------
++++++ apache2-mod_auth_mellon.spec ++++++
--- /var/tmp/diff_new_pack.MXaGQv/_old  2026-12-05 19:13:48.110781389 +0100
+++ /var/tmp/diff_new_pack.MXaGQv/_new  2026-12-05 19:13:48.112781473 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package apache2-mod_auth_mellon
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define upstream_name mod_auth_mellon
 Name:           apache2-mod_auth_mellon
-Version:        0.19.1
+Version:        0.19.2
 Release:        0
 Summary:        A SAML 2.0 authentication module for the Apache Server
 License:        GPL-2.0-or-later

++++++ mod_auth_mellon-0.19.1.tar.gz -> mod_auth_mellon-0.19.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mod_auth_mellon-0.19.1/NEWS 
new/mod_auth_mellon-0.19.2/NEWS
--- old/mod_auth_mellon-0.19.1/NEWS     2024-07-16 10:28:51.000000000 +0200
+++ new/mod_auth_mellon-0.19.2/NEWS     2026-11-30 22:53:18.000000000 +0100
@@ -1,3 +1,25 @@
+Version 0.19.2
+---------------------------------------------------------------------------
+
+Security fixes:
+
+* [CVE-2026-133166] Redirect URL validation bypass
+
+  User agents discard leading whitespace from Location headers, which
+  allows URLs such as " //evil.example.com" to bypass redirect validation
+  and be treated as network-path references by browsers.
+
+  This version fixes that issue by rejecting redirect URLs with leading
+  whitespace, decoding ReturnTo before character validation in invalidate
+  requests, and strengthening redirect URL validation.
+
+Bug fixes:
+
+* Accept hyphens in host names in mellon_create_metadata.sh.
+
+* Documentation updates and improvements.
+
+
 Version 0.19.1
 ---------------------------------------------------------------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mod_auth_mellon-0.19.1/README.md 
new/mod_auth_mellon-0.19.2/README.md
--- old/mod_auth_mellon-0.19.1/README.md        2024-07-16 10:28:51.000000000 
+0200
+++ new/mod_auth_mellon-0.19.2/README.md        2026-11-30 22:53:18.000000000 
+0100
@@ -10,7 +10,7 @@
 
 ## Dependencies
 
-mod_auth_mellon has four dependencies:
+mod_auth_mellon has the following dependencies:
  * pkg-config
  * Apache (>=2.0)
  * OpenSSL
@@ -964,15 +964,19 @@
 
 ## Reporting security vulnerabilities
 
-For reporting security vulnerabilities in mod_auth_mellon, please contact
-the maintainers directly at the following email address:
-
-  [email protected]
-  [email protected]
+For reporting security vulnerabilities in mod_auth_mellon, please 
+use the github security reporting feature.
 
 This allows us to coordinate the disclosure of the vulnerability with the
 fixes for the vulnerability.
 
+## Creating a release
+
+1. Update `NEWS`.
+1. Update version number to X.Y.Z in `configure.ac`.
+1. Commit both & tag the repository with `vX.Y.Z`.
+1. Run `make distfile`.
+1. Create a Github release from the tag, and add the tarball as a file to it.
 
 ## Contributors
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mod_auth_mellon-0.19.1/auth_mellon_handler.c 
new/mod_auth_mellon-0.19.2/auth_mellon_handler.c
--- old/mod_auth_mellon-0.19.1/auth_mellon_handler.c    2024-07-16 
10:28:51.000000000 +0200
+++ new/mod_auth_mellon-0.19.2/auth_mellon_handler.c    2026-11-30 
22:53:18.000000000 +0100
@@ -930,18 +930,18 @@
         goto exit;
     }
 
-    /* Check for bad characters in ReturnTo. */
-    res = am_check_url(r, return_to);
+    res = am_urldecode(return_to);
     if (res != OK) {
+        AM_LOG_RERROR(APLOG_MARK, APLOG_ERR, res, r,
+                      "Could not urldecode ReturnTo value in invalidate"
+                      " response.");
         rc = HTTP_BAD_REQUEST;
         goto exit;
     }
 
-    res = am_urldecode(return_to);
+    /* Check for bad characters in ReturnTo. */
+    res = am_check_url(r, return_to);
     if (res != OK) {
-        AM_LOG_RERROR(APLOG_MARK, APLOG_ERR, rc, r,
-                      "Could not urldecode ReturnTo value in invalidate"
-                      " response.");
         rc = HTTP_BAD_REQUEST;
         goto exit;
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mod_auth_mellon-0.19.1/auth_mellon_util.c 
new/mod_auth_mellon-0.19.2/auth_mellon_util.c
--- old/mod_auth_mellon-0.19.1/auth_mellon_util.c       2024-07-16 
10:28:51.000000000 +0200
+++ new/mod_auth_mellon-0.19.2/auth_mellon_util.c       2026-11-30 
22:53:18.000000000 +0100
@@ -107,6 +107,11 @@
     apr_uri_t uri;
     int ret;
 
+    ret = am_check_url(r, url);
+    if (ret != OK) {
+        return ret;
+    }
+
     ret = apr_uri_parse(r->pool, url, &uri);
     if (ret != APR_SUCCESS) {
         AM_LOG_RERROR(APLOG_MARK, APLOG_ERR, 0, r,
@@ -133,6 +138,27 @@
     }
 
     if (!uri.hostname) {
+        /* No hostname was parsed, so this looks like a relative reference.
+         * That is only true if the user agent parses it the same way: leading
+         * whitespace is stripped from the Location header value, so
+         * " //evil.example.com" is received as a network-path reference. */
+        const char *p = url;
+
+        while (*p == ' ' || *p == '\t') {
+            p++;
+        }
+        if (p != url) {
+            AM_LOG_RERROR(APLOG_MARK, APLOG_ERR, 0, r,
+                          "Preventing redirect with leading whitespace: %s",
+                          url);
+            return HTTP_BAD_REQUEST;
+        }
+        if (p[0] == '/' && p[1] == '/') {
+            AM_LOG_RERROR(APLOG_MARK, APLOG_ERR, 0, r,
+                          "Preventing redirect to a network-path reference"
+                          " with no parsable hostname: %s", url);
+            return HTTP_BAD_REQUEST;
+        }
         return OK; /* No hostname to check. */
     }
 
@@ -947,6 +973,15 @@
         }
     }
 
+    if (*url == ' ' || *url == '\t') {
+        /* Leading whitespace is discarded by user agents when they parse the
+         * Location header, so it must not be allowed to displace the prefix
+         * test below. */
+        AM_LOG_RERROR(APLOG_MARK, APLOG_ERR, HTTP_BAD_REQUEST, r,
+                      "URL starts with whitespace.");
+        return HTTP_BAD_REQUEST;
+    }
+
     if (strstr(url, "///") == url) {
         AM_LOG_RERROR(APLOG_MARK, APLOG_ERR, HTTP_BAD_REQUEST, r,
                           "URL starts with '///'");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mod_auth_mellon-0.19.1/configure.ac 
new/mod_auth_mellon-0.19.2/configure.ac
--- old/mod_auth_mellon-0.19.1/configure.ac     2024-07-16 10:28:51.000000000 
+0200
+++ new/mod_auth_mellon-0.19.2/configure.ac     2026-11-30 22:53:18.000000000 
+0100
@@ -1,4 +1,4 @@
-AC_INIT([mod_auth_mellon],[0.19.1],[https://github.com/latchset/mod_auth_mellon/issues])
+AC_INIT([mod_auth_mellon],[0.19.2],[https://github.com/latchset/mod_auth_mellon/issues])
 AC_CONFIG_HEADERS([config.h])
 
 # We require support for C99.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mod_auth_mellon-0.19.1/doc/user_guide/mellon_user_guide.adoc 
new/mod_auth_mellon-0.19.2/doc/user_guide/mellon_user_guide.adoc
--- old/mod_auth_mellon-0.19.1/doc/user_guide/mellon_user_guide.adoc    
2024-07-16 10:28:51.000000000 +0200
+++ new/mod_auth_mellon-0.19.2/doc/user_guide/mellon_user_guide.adoc    
2026-11-30 22:53:18.000000000 +0100
@@ -1316,7 +1316,7 @@
 === Installing Mellon
 
 Mellon can be built and installed from source code located in the
-https://github.com/UNINETT/mod_auth_mellon[mod_auth_mellon GitHub
+https://github.com/latchset/mod_auth_mellon[mod_auth_mellon GitHub
 repository]. However for most people the best option is to install
 Mellon using a pre-built package available from the package manager on
 your operating system. Pre-built packages relieve you of having to
@@ -1441,7 +1441,7 @@
 * Directory level (i.e. applied to directories and URL locations)
 
 The README groups all module level directives together at the top of
-the file, the directory level directory level directives follow. Most
+the file, the directory level directives follow. Most
 users will only need to configure the directory level directives which
 comprise 2 basic types and are documented in 
http://httpd.apache.org/docs/current/mod/core.html[Apache Core Features]:
 
@@ -2528,7 +2528,7 @@
 `StatusCode` is called the top-level status code, the next nested
 `StatusCode` is called the second-level status code. `StatusCode`
 values *must* be a URI. The top-level status codes *must* be one of
-one of the top-level status codes defined by the SAML specification. The
+the top-level status codes defined by the SAML specification. The
 second-level status code must also be a URI and should be one of the
 second-level status codes defined by SAML but a system entity may
 define its own non-top-level status codes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mod_auth_mellon-0.19.1/mellon_create_metadata.sh 
new/mod_auth_mellon-0.19.2/mellon_create_metadata.sh
--- old/mod_auth_mellon-0.19.1/mellon_create_metadata.sh        2024-07-16 
10:28:51.000000000 +0200
+++ new/mod_auth_mellon-0.19.2/mellon_create_metadata.sh        2026-11-30 
22:53:18.000000000 +0100
@@ -36,7 +36,7 @@
 HOST="$(echo "$BASEURL" | sed 's#^[a-z]*://\([^:/]*\).*#\1#')"
 BASEURL="$(echo "$BASEURL" | sed 's#/$##')"
 
-OUTFILE="$(echo "$ENTITYID" | sed 's/[^0-9A-Za-z.]/_/g' | sed 's/__*/_/g')"
+OUTFILE="$(echo "$ENTITYID" | sed 's/[^0-9A-Za-z.-]/_/g' | sed 's/__*/_/g')"
 echo "Output files:"
 echo "Private key:               $OUTFILE.key"
 echo "Certificate:               $OUTFILE.cert"

Reply via email to