Skip to content

fix(mod_auth_openidc): upgrade to 2.4.20.5 to address security advisories - #20610

Open
Kanishk Bansal (Kanishk-Bansal) wants to merge 1 commit into
4.0from
mod_auth_openidc-2.4.20.5-cves
Open

Kanishk Bansal (Kanishk-Bansal) wants to merge 1 commit into
4.0from
mod_auth_openidc-2.4.20.5-cves

Conversation

@Kanishk-Bansal

@Kanishk-Bansal Kanishk Bansal (Kanishk-Bansal) commented Nov 30, 2026 •

Copy link
Copy Markdown

Summary

Upgrade mod_auth_openidc from 2.4.19.4 to 2.4.20.5 by pinning to Fedora f44 0f265ce458ec, which packages exactly 2.4.20.5. This replaces the 2.4.19.4 version overlay. Upstream changes: v2.4.19.4...v2.4.20.5.

The 2.4.20.x releases fix six upstream security advisories. None of them has a CVE id, so there is no CVE table.

Security advisories addressed (6)

Advisory Severity Fix
GHSA-6c2f-rc7q-c43c High (7.4) 315f22f (identity header scrubbing compares normalized names), first in 2.4.20.5
GHSA-98m5-m556-8684 High (7.4) 2782206 (stop reusing the parent request user on subrequests/internal redirects), first in 2.4.20.4
GHSA-gwg9-pmp9-m6wv Medium (6.8) 1f2f564 (bind token cache keys to verifier and mode), first in 2.4.20.4
GHSA-j3g4-73w8-p842 Medium 0fc4dad (no exec: passphrase parsing for provider metadata secrets), first in 2.4.20.4
GHSA-gcc4-wwpg-r8q8 Medium eight fixes, first in 2.4.20.1: c450a33, 580b70a, c3d6b87, 5b4b4b1, 3106f25, c6f41e2, bee6c16, 862778d, plus follow-up 4a3383e
GHSA-wcvh-g65p-v576 Low 103e007 (issuer/audience checks and mandatory exp for local JWT validation in the OAuth RS path), first in 2.4.20

All fix commits are in v2.4.20.5 and not in v2.4.19.4.

Notes

  • Route: f44 already packages exactly 2.4.20.5. Compared with the f43 spec we imported before, the f44 spec only changes Version, switches to %autorelease/%autochangelog and drops a stale comment. BuildRequires, configure flags (--with-jq, --without-hiredis) and %files are unchanged. The 2.4.19.4 overlay and its source-files entry are removed; the rendered sources lists only the 2.4.20.5 tarball (same SHA512 as the upstream GitHub release asset).
  • 2.4.20 is a feature series, not a pure bugfix bump. Behavior changes admins should know about:
    • Session and state cookie encryption now uses a PBKDF2-HMAC-SHA256 derived key. All existing sessions and in-flight state cookies are invalidated on upgrade, so users have to log in again.
    • The FAPI20 profile now defaults to mTLS or private_key_jwt client auth and PS256 instead of client secret and RS256.
    • Third party initiated scopes and auth_request_params in Discovery requests are only honored with CSRF protection.
    • Duplicate authorization request parameters are replaced instead of being sent twice.
    • Front-channel logout no longer revokes tokens at the OP. Back-channel logout tokens must carry iat and jti, and replays are rejected.
    • Subrequests and internal redirects (DirectoryIndex, WebDAV, ErrorDocument) authenticate again instead of inheriting the parent request user.
    • Aggregated and distributed userinfo claims are no longer resolved.
    • Configure with an explicit --with-jq now fails if jq is missing instead of silently building without it. jq-devel is already a BuildRequires.
    • New optional directives (mTLS/certificate-bound tokens, key publishing, refresh and metrics knobs, OIDCDebugMaskSecrets); existing configs keep working unless they rely on the defaults above.
  • The 2.4.20.5 release notes mention CVE-2023-37464 (cjose). That is already fixed in the shipped cjose 0.6.2.2 (jwe.c rejects a tag length other than 16), so the new module side check is defense in depth only and the CVE is not claimed here. The cjose CVEs in fix(cjose): upgrade to 0.6.2.6 to address CVEs #20351 belong to the cjose package and are not fixed by this PR.
  • CVE-2026-54789 was already fixed in 2.4.19.4 (fix(mod_auth_openidc): upgrade to 2.4.19.4 to address CVE-2026-54789 #20185) and is not counted again.
  • No downstream patches exist for this package.

Changes

  • base/comps/mod_auth_openidc/mod_auth_openidc.comp.toml: pin to Fedora f44 0f265ce458ec and drop the 2.4.19.4 source-files entry
  • base/comps/mod_auth_openidc/overlays/0001-update-to-2.4.19.4.overlay.toml: removed
  • locks/mod_auth_openidc.lock, specs/m/mod_auth_openidc/: refreshed and re-rendered

Testing

  • PR check scratch package build passed: build 1272453. Control Tower built mod_auth_openidc for the 4.0 environment at the PR head 5d0a8857a6 in about 7 min.
  • Lock and render drift checks passed; azldev comp update --check-only is clean.
  • The new NVR is higher than what is published for 4.0 today.
  • Not built locally.

…ries

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
@Kanishk-Bansal Kanishk Bansal (Kanishk-Bansal) added security CVE-fixed-by-upgrade CVE fixed by package upgrade 4.0 Issues and PRs for Azure Linux 4.0 targets-4.0 labels Nov 30, 2026
Copilot AI balanced review requested due to automatic review settings November 30, 2026 21:30
@Kanishk-Bansal

Copy link
Copy Markdown
Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Security-sensitive changes to session encryption and authentication require build, RPM inspection, and runtime smoke-test validation that remains pending and could not be performed in this review environment.

No open issues 🎉

What changed in this PR

Upgrades Azure Linux’s mod_auth_openidc package from 2.4.19.4 to 2.4.20.5 to address six upstream security advisories, replacing the downstream version overlay with a pinned Fedora f44 spec.

Changes:

  • Pins the component to Fedora’s 2.4.20.5 packaging and removes the obsolete overlay and source override.
  • Refreshes the lock, source checksum, and rendered spec, adopting upstream automatic release and changelog generation.
  • Documents upgrade behavior changes, including invalidation of existing sessions and in-flight state cookies. Testing results remain pending in the PR description.
File Description
specs/​m/​mod_auth_openidc/​sources Updates the tarball checksum to 2.4.20.5.
specs/​m/​mod_auth_openidc/​mod_auth_openidc.spec Renders the new version and automatic release/changelog metadata.
locks/​mod_auth_openidc.lock Refreshes the upstream commit and configuration fingerprints.
base/​comps/​mod_auth_openidc/​overlays/​0001-update-to-2.4.19.4.overlay.toml Removes the superseded version overlay.
base/​comps/​mod_auth_openidc/​mod_auth_openidc.comp.toml Pins Fedora f44 packaging and removes the old source override.

Review effort: Balanced

@Kanishk-Bansal
Kanishk Bansal (Kanishk-Bansal) marked this pull request as ready for review November 30, 2026 22:05

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0 Issues and PRs for Azure Linux 4.0 CVE-fixed-by-upgrade CVE fixed by package upgrade security targets-4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants