From 5d0a8857a655622db8983b0f072775f2d7a13014 Mon Sep 17 00:00:00 2001 From: Kanishk Bansal Date: Mon, 30 Nov 2026 21:16:58 +0000 Subject: [PATCH] fix(mod_auth_openidc): upgrade to 2.4.20.5 to address security advisories Pin to the Fedora f44 commit that packages mod_auth_openidc 2.4.20.5 and drop the 2.4.19.4 version overlay and its source entry. The f44 spec only changes Version, switches to %autorelease and moves the changelog out of the spec; BuildRequires and configure options are unchanged. 2.4.20 is a feature series, so this is not a drop-in update: - Session and state cookies now use a PBKDF2 derived key, so every existing session is invalidated and users have to log in again. - FAPI20 profile defaults move to mTLS/private_key_jwt and PS256. - Third party initiated scopes and auth_request_params need Discovery CSRF protection. - Front-channel logout no longer revokes tokens, back-channel logout tokens must carry iat and jti. - Subrequests and internal redirects authenticate again instead of reusing the parent request user. - Aggregated and distributed userinfo claims are no longer resolved. - An explicit --with-jq now fails configure when jq is missing (jq-devel is already a BuildRequires). Security advisories: GHSA-wcvh-g65p-v576, GHSA-gcc4-wwpg-r8q8, GHSA-j3g4-73w8-p842, GHSA-gwg9-pmp9-m6wv, GHSA-98m5-m556-8684, GHSA-6c2f-rc7q-c43c --- .../mod_auth_openidc.comp.toml | 10 ++---- .../0001-update-to-2.4.19.4.overlay.toml | 20 ----------- locks/mod_auth_openidc.lock | 6 ++-- .../m/mod_auth_openidc/mod_auth_openidc.spec | 36 +++++++++++++++---- specs/m/mod_auth_openidc/sources | 2 +- 5 files changed, 37 insertions(+), 37 deletions(-) delete mode 100644 base/comps/mod_auth_openidc/overlays/0001-update-to-2.4.19.4.overlay.toml diff --git a/base/comps/mod_auth_openidc/mod_auth_openidc.comp.toml b/base/comps/mod_auth_openidc/mod_auth_openidc.comp.toml index 7a919c42b61..23c0dce086b 100644 --- a/base/comps/mod_auth_openidc/mod_auth_openidc.comp.toml +++ b/base/comps/mod_auth_openidc/mod_auth_openidc.comp.toml @@ -1,8 +1,4 @@ +# Pin to Fedora f44 mod_auth_openidc-2.4.20.5 for the upstream security fixes in the 2.4.20 series. +# https://src.fedoraproject.org/rpms/mod_auth_openidc/c/0f265ce458ece230286f0415a5c675de9a28b972 [components.mod_auth_openidc] - -# Sources for the 2.4.19.4 update overlay; drop together with it once Fedora ships 2.4.19.4 or newer. -[[components.mod_auth_openidc.source-files]] -filename = "mod_auth_openidc-2.4.19.4.tar.gz" -hash = "31872a569debb4ef78df730d942c816ef4f33801454f35bb1f6205dd5d56cce55459096acebc3a82800b7e849bbc43197b55be39df7b0af4e38848126b61bc42" -hash-type = "SHA512" -origin = { type = "download", uri = "https://github.com/OpenIDC/mod_auth_openidc/releases/download/v2.4.19.4/mod_auth_openidc-2.4.19.4.tar.gz" } +spec = { type = "upstream", upstream-distro = { name = "fedora", version = "44" }, upstream-commit = "0f265ce458ece230286f0415a5c675de9a28b972" } diff --git a/base/comps/mod_auth_openidc/overlays/0001-update-to-2.4.19.4.overlay.toml b/base/comps/mod_auth_openidc/overlays/0001-update-to-2.4.19.4.overlay.toml deleted file mode 100644 index d03fa0f879d..00000000000 --- a/base/comps/mod_auth_openidc/overlays/0001-update-to-2.4.19.4.overlay.toml +++ /dev/null @@ -1,20 +0,0 @@ -# Fedora does not package mod_auth_openidc 2.4.19.4 on f43/f44 yet. Update to the upstream -# release for these CVE fixes: -# CVE-2026-54789 -# Remove this overlay once the imported Fedora spec packages 2.4.19.4 or newer. - -[metadata] -category = "azl-temp-workaround" -upstream-status = "upstreamable" - -[[overlays]] -description = "Update to upstream 2.4.19.4" -type = "spec-update-tag" -tag = "Version" -value = "2.4.19.4" - -[[overlays]] -description = "Remove the obsolete mod_auth_openidc-2.4.19.2.tar.gz source checksum" -type = "file-search-replace" -file = "sources" -regex = '(?m)^SHA512 \(mod_auth_openidc-2\.4\.19\.2\.tar\.gz\) = [0-9a-f]+(?:\r?\n|$)' diff --git a/locks/mod_auth_openidc.lock b/locks/mod_auth_openidc.lock index 5996917d3c9..e70c0b105cf 100644 --- a/locks/mod_auth_openidc.lock +++ b/locks/mod_auth_openidc.lock @@ -1,7 +1,7 @@ # Managed by azldev component update. Do not edit manually. version = 1 import-commit = '88f454b5805b86a2bb46b66c2369c3508eb6b442' -upstream-commit = '8fcde7be04722003807dca6422af739a0468ad7c' +upstream-commit = '0f265ce458ece230286f0415a5c675de9a28b972' manual-bump = 2 -input-fingerprint = 'sha256:5280eb6c3078a8375907088cbeb924fc7c66540e487480e2b09aea664a837ee5' -resolution-input-hash = 'sha256:ee2b4b2a7474232699f7ef1461160019159849dcc0daf2dcff1aabf35416ecec' +input-fingerprint = 'sha256:2d139640ba512c7dfe6b1b6563635e862a04a1e81734a7f032dac05a9fd1d8c5' +resolution-input-hash = 'sha256:a7a1ebfbf31d0ce28777f7b773d8ed631c06cea51a939f2a16f0e2086ede70fa' diff --git a/specs/m/mod_auth_openidc/mod_auth_openidc.spec b/specs/m/mod_auth_openidc/mod_auth_openidc.spec index 42dbaa1c3c3..241d7eecb59 100644 --- a/specs/m/mod_auth_openidc/mod_auth_openidc.spec +++ b/specs/m/mod_auth_openidc/mod_auth_openidc.spec @@ -1,3 +1,13 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.8.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + # This spec file has been modified by azldev to include build configuration overlays. # Do not edit manually; changes may be overwritten. @@ -17,8 +27,8 @@ %global httpd_pkg_cache_dir /var/cache/httpd/mod_auth_openidc Name: mod_auth_openidc -Version: 2.4.19.4 -Release: 6%{?dist} +Version: 2.4.20.5 +Release: %autorelease Summary: OpenID Connect auth module for Apache HTTP Server License: Apache-2.0 @@ -60,7 +70,6 @@ autoreconf -vfi %{make_build} -# (jhrozek): temporarily disable make check to work around a FTBFS issue %check export MODULES_DIR=%{_httpd_moddir} export APXS2_OPTS='-S LIBEXECDIR=${MODULES_DIR}' @@ -100,9 +109,22 @@ install -m 700 -d $RPM_BUILD_ROOT%{httpd_pkg_cache_dir}/cache %dir %attr(0700, apache, apache) %{httpd_pkg_cache_dir}/cache %changelog -* Fri Mar 3 2026 Tomas Halman - 2.4.19.2-1 -- Resolves: rhbz#2437328 - mod_auth_openidc in f43 is older than in f42 -- Resolves: rhbz#2390264 - mod_auth_openidc-2.4.19.2 is available +## START: Generated by rpmautospec +* Mon Nov 30 2026 Kanishk Bansal - 2.4.20.5-2 +- fix(mod_auth_openidc): upgrade to 2.4.20.5 to address security advisories + +* Mon Nov 23 2026 Tomas Halman - 2.4.20.5-1 +- Rebase to 2.4.20.5 version + +* Tue Mar 03 2026 Tomas Halman - 2.4.19.2-1 +- Rebase to 2.4.19.2 + +* Fri Jan 16 2026 Fedora Release Engineering - 2.4.17.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Mon Aug 18 2025 Tomas Halman - 2.4.17.2 + Rebase to new version, opt in for autorelease and autochangelog +- Resolves: rhbz#2361581 - mod_auth_openidc-2.4.17.2 is available * Thu Jul 24 2025 Fedora Release Engineering - 2.4.16.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild @@ -378,3 +400,5 @@ install -m 700 -d $RPM_BUILD_ROOT%{httpd_pkg_cache_dir}/cache * Sat Nov 07 2015 Jan Pazdziora 1.8.6-1 - Initial packaging for Fedora 23. + +## END: Generated by rpmautospec diff --git a/specs/m/mod_auth_openidc/sources b/specs/m/mod_auth_openidc/sources index ad90d0d0a32..3567d57cd1c 100644 --- a/specs/m/mod_auth_openidc/sources +++ b/specs/m/mod_auth_openidc/sources @@ -1 +1 @@ -SHA512 (mod_auth_openidc-2.4.19.4.tar.gz) = 31872a569debb4ef78df730d942c816ef4f33801454f35bb1f6205dd5d56cce55459096acebc3a82800b7e849bbc43197b55be39df7b0af4e38848126b61bc42 +SHA512 (mod_auth_openidc-2.4.20.5.tar.gz) = 219cdf1738b0a823af2323a348ea43b22d9965670defc2b1ff54d09b6268e7076acec0f229b54e81a2ca1d4cbb318360a184ee58f2e3eb86dd6b73e644e4d5ea