CVE-2021-39191
published medium CVSS 3.1 · 4.7URL Redirection to Untrusted Site ('Open Redirect') in mod_auth_openidc
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| zmartzone | — | mod_auth_openidc<=2.4.9.3 | 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+deb10u3 | DLA-3499-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 74 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-SP3 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.3.8-150100.3.22.1 | SUSE-SU-2023:0215-1 |
| SUSE / openSUSE | SLE-15-SP4 | apache2-mod_auth_openidcaarch64 | Advisory build | 2.3.8-150100.3.22.1 | SUSE-SU-2023:0215-1 |
| SUSE / openSUSE | SLE-15-SP4 | apache2-mod_auth_openidcppc64le | Advisory build | 2.3.8-150100.3.22.1 | SUSE-SU-2023:0215-1 |
| SUSE / openSUSE | SLE-15-SP4 | apache2-mod_auth_openidcs390x | Advisory build | 2.3.8-150100.3.22.1 | SUSE-SU-2023:0215-1 |
| SUSE / openSUSE | SLE-15-SP4 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.3.8-150100.3.22.1 | SUSE-SU-2023:0215-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.4 | apache2-mod_auth_openidcaarch64 | Advisory build | 2.3.8-150100.3.22.1 | SUSE-SU-2023:0215-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | apache2-mod_auth_openidcppc64le | Advisory build | 2.3.8-150100.3.22.1 | SUSE-SU-2023:0215-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | apache2-mod_auth_openidcs390x | Advisory build | 2.3.8-150100.3.22.1 | SUSE-SU-2023:0215-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | apache2-mod_auth_openidcx86_64 | Advisory build | 2.3.8-150100.3.22.1 | SUSE-SU-2023:0215-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 |
| 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.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.
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.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-601 CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
References
7- https://github.com/zmartzone/mod_auth_openidc/commit/03e6bfb446f4e3f27c003d30d6a433e5dd8e2b3d
- https://github.com/zmartzone/mod_auth_openidc/issues/672
- https://github.com/zmartzone/mod_auth_openidc/releases/tag/v2.4.9.4
- https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-2pgf-8h6h-gqg2
- [debian-lts-announce] 20230718 [SECURITY] [DLA 3499-1] libapache2-mod-auth-openidc security update https://lists.debian.org/debian-lts-announce/2023/07/msg00020.html
- FEDORA-2021-8d9aca2ded https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/32RGPW5LZDLDTB7MKZIGAHPSLFOUNWR5/
- FEDORA-2022-814ee0c43b https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RHXO4O4G2UQS7X6OQJCVZKHZAQ7SAIFB/
Provider assertions
2GitHub_M · cna
URL Redirection to Untrusted Site ('Open Redirect') in mod_auth_openidc
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e2b4f0e82d419ed04f5848fdf08d6352b9d14fd973a414a9adebce3b1961ac10
- Ingested
- 23 Sep 2026, 07:55:36 UTC
- Source record
- Official CVE record