CVE-2021-32786
published medium CVSS 3.1 · 4.7Open Redirect in oidc_validate_redirect_url()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| zmartzone | — | mod_auth_openidc< 2.4.9 | Affected | Not stated | GitHub_M |
| AlmaLinux | 8 | mod_auth_openidc | Advisory build | 2.3.7-11.module_el8.6.0+2868+44838709 | ALSA-2022:1823 |
| Oracle Linux | 8 | mod_auth_openidcaarch64 · mod_auth_openidc · 2.3b | Advisory build | 0:2.3.7-11.module+el8.6.0+20572+b6f23e95 | ELSA-2022-1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidcaarch64 | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Debian | buster | libapache2-mod-auth-openidc | Advisory build | 2.3.10.2-1+deb10u2 | DLA-3409-1 |
| SUSE / openSUSE | SLE-12-SP5 | apache2-mod_auth_openidcaarch64 | Advisory build | 2.4.0-3.23.1 | SUSE-SU-2021:3352-1 |
| Rocky Linux | 8 | mod_auth_openidcaarch64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Oracle Linux | 8 | mod_auth_openidcx86_64 · mod_auth_openidc · 2.3b | Advisory build | 0:2.3.7-11.module+el8.6.0+20572+b6f23e95 | ELSA-2022-1823 |
Show 82 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidcppc64le | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidcs390x | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidcsrc | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidcx86_64 | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| AlmaLinux | 8 | cjose | Advisory build | 0.6.1-2.module_el8.6.0+2868+44838709 | ALSA-2022:1823 |
| AlmaLinux | 8 | cjose-devel | Advisory build | 0.6.1-2.module_el8.6.0+2868+44838709 | ALSA-2022:1823 |
| Oracle Linux | 8 | cjoseaarch64 · mod_auth_openidc · 2.3b | Advisory build | 0:0.6.1-2.module+el8+5139+bcb28322 | ELSA-2022-1823 |
| Oracle Linux | 8 | cjosex86_64 · mod_auth_openidc · 2.3b | Advisory build | 0:0.6.1-2.module+el8+5139+bcb28322 | ELSA-2022-1823 |
| Oracle Linux | 8 | cjose-develaarch64 · mod_auth_openidc · 2.3b | Advisory build | 0:0.6.1-2.module+el8+5139+bcb28322 | ELSA-2022-1823 |
| Oracle Linux | 8 | cjose-develx86_64 · mod_auth_openidc · 2.3b | Advisory build | 0:0.6.1-2.module+el8+5139+bcb28322 | ELSA-2022-1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjoseaarch64 | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjoseppc64le | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjoses390x | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjosesrc | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjosex86_64 | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-debuginfoaarch64 | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-debuginfoppc64le | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-debuginfos390x | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-debuginfox86_64 | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-debugsourceaarch64 | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-debugsourceppc64le | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-debugsources390x | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-debugsourcex86_64 | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-develaarch64 | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-develppc64le | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-devels390x | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | cjose-develx86_64 | Advisory build | 0.6.1-2.module+el8+2454+f890a43a | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidc-debuginfoaarch64 | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidc-debuginfoppc64le | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidc-debuginfos390x | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidc-debuginfox86_64 | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidc-debugsourceaarch64 | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidc-debugsourceppc64le | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidc-debugsources390x | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| Red Hat Enterprise Linux | RHEL-8 | mod_auth_openidc-debugsourcex86_64 | Advisory build | 2.3.7-11.module+el8.6.0+14082+b6f23e95 | RHSA-2022:1823 |
| SUSE / openSUSE | SLE-12-SP5 | apache2-mod_auth_openidcppc64le | Advisory build | 2.4.0-3.23.1 | SUSE-SU-2021:3352-1 |
| SUSE / openSUSE | SLE-12-SP5 | apache2-mod_auth_openidcs390x | Advisory build | 2.4.0-3.23.1 | SUSE-SU-2021:3352-1 |
| SUSE / openSUSE | SLE-12-SP5 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.4.0-3.23.1 | SUSE-SU-2021:3352-1 |
| SUSE / openSUSE | SLE-15-SP2 | apache2-mod_auth_openidcaarch64 | Advisory build | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SUSE / openSUSE | SLE-15-SP2 | apache2-mod_auth_openidcppc64le | Advisory build | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SUSE / openSUSE | SLE-15-SP2 | apache2-mod_auth_openidcs390x | Advisory build | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SUSE / openSUSE | SLE-15-SP2 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SUSE / openSUSE | SLE-15-SP3 | apache2-mod_auth_openidcaarch64 | Advisory build | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SUSE / openSUSE | SLE-15-SP3 | apache2-mod_auth_openidcppc64le | Advisory build | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SUSE / openSUSE | SLE-15-SP3 | apache2-mod_auth_openidcs390x | Advisory build | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SUSE / openSUSE | SLE-15-SP3 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.3.8-3.15.1 | SUSE-SU-2021:3020-1 |
| SUSE / openSUSE | SLE-15-SP6 | apache2-mod_auth_openidcaarch64 | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | SLE-15-SP6 | apache2-mod_auth_openidcppc64le | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | SLE-15-SP6 | apache2-mod_auth_openidcs390x | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | SLE-15-SP6 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | SLE-15-SP7 | apache2-mod_auth_openidcaarch64 | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | SLE-15-SP7 | apache2-mod_auth_openidcppc64le | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | SLE-15-SP7 | apache2-mod_auth_openidcs390x | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | SLE-15-SP7 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.3.8-lp152.5.6.1 | OPENSUSE-SU-2021:1277-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | apache2-mod_auth_openidcaarch64 | Advisory build | 2.3.8-3.15.1 | OPENSUSE-SU-2021:3020-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | apache2-mod_auth_openidcppc64le | Advisory build | 2.3.8-3.15.1 | OPENSUSE-SU-2021:3020-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | apache2-mod_auth_openidcs390x | Advisory build | 2.3.8-3.15.1 | OPENSUSE-SU-2021:3020-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.3.8-3.15.1 | OPENSUSE-SU-2021:3020-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | apache2-mod_auth_openidcaarch64 | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | apache2-mod_auth_openidcppc64le | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | apache2-mod_auth_openidcs390x | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.4.17.1-150600.16.14.1 | SUSE-SU-2025:4532-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache2-mod_auth_openidcaarch64 | Advisory build | 2.4.9.4-1.2 | OPENSUSE-SU-2024:10624-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache2-mod_auth_openidcppc64le | Advisory build | 2.4.9.4-1.2 | OPENSUSE-SU-2024:10624-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache2-mod_auth_openidcs390x | Advisory build | 2.4.9.4-1.2 | OPENSUSE-SU-2024:10624-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache2-mod_auth_openidcx86_64 | Advisory build | 2.4.9.4-1.2 | OPENSUSE-SU-2024:10624-1 |
| Rocky Linux | 8 | mod_auth_openidcsrc | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | mod_auth_openidcx86_64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjoseaarch64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjosesrc | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjosex86_64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjose-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjose-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjose-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjose-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjose-develaarch64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | cjose-develx86_64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | mod_auth_openidc-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | mod_auth_openidc-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | mod_auth_openidc-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2022:1823 |
| Rocky Linux | 8 | mod_auth_openidc-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2022:1823 |
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, `oidc_validate_redirect_url()` does not parse URLs the same way as most browsers do. As a result, this function can be bypassed and leads to an Open Redirect vulnerability in the logout functionality. This bug has been fixed in version 2.4.9 by replacing any backslash of the URL to redirect with slashes to address a particular breaking change between the different specifications (RFC2396 / RFC3986 and WHATWG). As a workaround, this vulnerability can be mitigated by configuring `mod_auth_openidc` to only allow redirection whose destination matches a given regular expression.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| zmartzone | mod_auth_openidc | < 2.4.9 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-601 CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
References
9- https://daniel.haxx.se/blog/2017/01/30/one-url-standard-please/
- https://github.com/zmartzone/mod_auth_openidc/commit/3a115484eb927bc6daa5737dd84f88ff4bbc5544
- https://github.com/zmartzone/mod_auth_openidc/releases/tag/v2.4.9
- https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-xm4c-5wm5-jqv7
- [debian-lts-announce] 20230430 [SECURITY] [DLA 3409-1] libapache2-mod-auth-openidc security update https://lists.debian.org/debian-lts-announce/2023/04/msg00034.html
- FEDORA-2021-e3017c538a https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FZVF6BSJLRQZ7PFFR4X5JSU6KUJYNOCU/
- FEDORA-2021-17f5cedf66 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QXAWKPT5LXZSUTFSJ6IWSZC7RMYYQXQD/
- https://security.netapp.com/advisory/ntap-20210902-0001/
- https://www.oracle.com/security-alerts/cpuapr2022.html
Provider assertions
2GitHub_M · cna
Open Redirect in oidc_validate_redirect_url()
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 918662e73fdfaf072dec2ec5ec78d5d8e46569b8d1b90c531eace1c5c42c6bc8
- Ingested
- 23 Sep 2026, 07:54:30 UTC
- Source record
- Official CVE record