Description
mod_auth_openidc is an authentication/authorization module for the Apache 2.x HTTP server that functions as an OpenID Connect Relying Party, authenticating users against an OpenID Connect Provider. In versions prior to 2.4.9.4, the 3rd-party init SSO functionality of mod_auth_openidc was reported to be vulnerable to an open redirect attack by supplying a crafted URL in the `target_link_uri` parameter. A patch in version 2.4.9.4 made it so that the `OIDCRedirectURLsAllowed` setting must be applied to the `target_link_uri` parameter. There are no known workarounds aside from upgrading to a patched version.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| zmartzone | mod_auth_openidc | <=2.4.9.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libapache2-mod-auth-openidc | 2.4.9.4-1 | — |
| Debian 13 | libapache2-mod-auth-openidc | 2.4.9.4-1 | — |
| Debian 12 | libapache2-mod-auth-openidc | 2.4.9.4-1 | — |
| Debian 10 | libapache2-mod-auth-openidc | 2.3.10.2-1+deb10u3 | DLA-3499-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libapache2-mod-auth-openidc | No fix yet | — |
| Ubuntu 18.04 LTS | libapache2-mod-auth-openidc | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | cjose +1 | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| RHEL 8 | mod_auth_openidc | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | cjose +1 | 0.6.1-2.module_el8.6.0+2868+44838709 | ALSA-2022:1823 |
| AlmaLinux 8 | mod_auth_openidc | 2.3.7-11.module_el8.6.0+2868+44838709 | ALSA-2022:1823 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | cjose | 0.6.1-2.module+el8.3.0+129+2feafa46 | RLSA-2022:1823 |
| Rocky Linux 8 | mod_auth_openidc | 2.3.7-11.module+el8.6.0+840+73eca44e | RLSA-2022:1823 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | apache2-mod_auth_openidc | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SLES 15 SP6 | apache2-mod_auth_openidc | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SLES 15 SP4 | apache2-mod_auth_openidc | 2.3.8-150100.3.22.1 | SUSE-SU-2023:0215-1 |
| SLES 12 SP5 | apache2-mod_auth_openidc | 2.4.0-3.23.1 | SUSE-SU-2021:3352-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | apache2-mod_auth_openidc | 2.4.0-3.23.1 | SUSE-SU-2021:3352-1 |
| SLE Real Time 15 SP3 | apache2-mod_auth_openidc | 2.3.8-150100.3.22.1 | SUSE-SU-2023:0215-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.6 | apache2-mod_auth_openidc | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| openSUSE Leap 15.4 | apache2-mod_auth_openidc | 2.3.8-150100.3.22.1 | SUSE-SU-2023:0215-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | mod_auth_openidc | 2.4.14.2-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | cjose +1 | 0.6.1-2.module+el8+5139+bcb28322 | ELSA-2022-1823 |
| Oracle Linux 8 | mod_auth_openidc | 2.3.7-11.module+el8.6.0+20572+b6f23e95 | ELSA-2022-1823 |
Advisories 9
- ALSA-2022:1823 Moderate: mod_auth_openidc:2.3 security update AlmaLinux Security Advisories · Oct 29, 2026
- DLA-3499-1 libapache2-mod-auth-openidc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2022:1823 Moderate: mod_auth_openidc:2.3 security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2023:0215-1 Security update for apache2-mod_auth_openidc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:4532-1 Security update for apache2-mod_auth_openidc SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-0580 Red Hat Enterprise Linux (mod_auth_openidc): Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 29, 2025
- RHSA-2022:1823 Red Hat Security Advisory: mod_auth_openidc:2.3 security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
- SUSE-SU-2021:3352-1 Security update for apache2-mod_auth_openidc SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2022-1823 Moderate: mod_auth_openidc:2.3 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 17, 2022
References
- https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-2pgf-8h6h-gqg2
- https://github.com/zmartzone/mod_auth_openidc/issues/672
- https://github.com/zmartzone/mod_auth_openidc/commit/03e6bfb446f4e3f27c003d30d6a433e5dd8e2b3d
- https://github.com/zmartzone/mod_auth_openidc/releases/tag/v2.4.9.4
- FEDORA-2021-8d9aca2ded vendor-advisory
- FEDORA-2022-814ee0c43b vendor-advisory
- [debian-lts-announce] 20230718 [SECURITY] [DLA 3499-1] libapache2-mod-auth-openidc security update mailing-list