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. When mod_auth_openidc versions prior to 2.4.9 are configured to use an unencrypted Redis cache (`OIDCCacheEncrypt off`, `OIDCSessionType server-cache`, `OIDCCacheType redis`), `mod_auth_openidc` wrongly performed argument interpolation before passing Redis requests to `hiredis`, which would perform it again and lead to an uncontrolled format string bug. Initial assessment shows that this bug does not appear to allow gaining arbitrary code execution, but can reliably provoke a denial of service by repeatedly crashing the Apache workers. This bug has been corrected in version 2.4.9 by performing argument interpolation only once, using the `hiredis` API. As a workaround, this vulnerability can be mitigated by setting `OIDCCacheEncrypt` to `on`, as cache keys are cryptographically hashed before use when this option is enabled.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| zmartzone | mod_auth_openidc | < 2.4.9 | — |
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-1 | — |
| Debian 13 | libapache2-mod-auth-openidc | 2.4.9-1 | — |
| Debian 12 | libapache2-mod-auth-openidc | 2.4.9-1 | — |
| Debian 10 | libapache2-mod-auth-openidc | 2.3.10.2-1+deb10u2 | DLA-3409-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 | — |
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 SP3 | apache2-mod_auth_openidc | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SLES 15 SP2 | apache2-mod_auth_openidc | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SLES 12 SP5 | apache2-mod_auth_openidc | 2.4.0-3.23.1 | SUSE-SU-2021:3352-1 |
Show 1 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | apache2-mod_auth_openidc | 2.4.9.4-1.2 | openSUSE-SU-2024:10624-1 |
| openSUSE Leap 15.6 | apache2-mod_auth_openidc | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| openSUSE Leap 15.3 | apache2-mod_auth_openidc | 2.3.8-3.15.1 | openSUSE-SU-2021:3020-1 |
| openSUSE Leap 15.2 | apache2-mod_auth_openidc | 2.3.8-lp152.5.6.1 | openSUSE-SU-2021:1277-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | httpd | 2.4.52-1 | — |
Advisories 7
- DLA-3409-1 libapache2-mod-auth-openidc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10624-1 apache2-mod_auth_openidc-2.4.9.4-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:1277-1 Security update for apache2-mod_auth_openidc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3020-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
- openSUSE-SU-2021:3020-1 Security update for apache2-mod_auth_openidc SUSE / openSUSE Security Updates · May 7, 2025
- SUSE-SU-2021:3352-1 Security update for apache2-mod_auth_openidc SUSE / openSUSE Security Updates · May 2, 2025
References
- https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-55r8-6w97-xxr4
- https://github.com/zmartzone/mod_auth_openidc/commit/dc672688dc1f2db7df8ad4abebc367116017a449
- https://github.com/zmartzone/mod_auth_openidc/releases/tag/v2.4.9
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://security.netapp.com/advisory/ntap-20210902-0001/
- [debian-lts-announce] 20230430 [SECURITY] [DLA 3409-1] libapache2-mod-auth-openidc security update mailing-list