
CVE catalog
CVE-2021-39191
libapache2-mod-auth-openidc: CVE-2021-39191
- Severity
- Medium · CVSS 6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.74% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libapache2-mod-auth-openidc | sid | 2.4.20.3-1 | fixed |
| Debian | libapache2-mod-auth-openidc | forky | 2.4.20.3-1 | fixed |
| Debian | libapache2-mod-auth-openidc | trixie | 2.4.17-1 | fixed |
| Debian | libapache2-mod-auth-openidc | trixie-security | 2.4.17-1+deb13u1 | fixed |
| Debian | libapache2-mod-auth-openidc | bookworm | 2.4.12.3-2+deb12u4 | fixed |
| Debian | libapache2-mod-auth-openidc | bookworm-security | 2.4.12.3-2+deb12u5 | fixed |
| Suse | apache2-mod_auth_openidc | linux enterprise module for server applications 15 sp4 | 2.3.8-150100.3.22.1 | fixed |
| Suse | apache2-mod_auth_openidc | linux enterprise real time 15 sp3 | 2.3.8-150100.3.22.1 | fixed |
| Opensuse | apache2-mod_auth_openidc | leap 15.4 | 2.3.8-150100.3.22.1 | fixed |
| Ubuntu | libapache2-mod-auth-openidc | 18.04 | 2.1.6-1 | vulnerable |
| Ubuntu | libapache2-mod-auth-openidc | 18.04 | 2.3.1-2 | vulnerable |
| Ubuntu | libapache2-mod-auth-openidc | 18.04 | 2.3.2-1 | vulnerable |
| Ubuntu | libapache2-mod-auth-openidc | 18.04 | 2.3.2-1build1 | vulnerable |
| Ubuntu | libapache2-mod-auth-openidc | 18.04 | 2.3.3-1build1 | vulnerable |
| Ubuntu | libapache2-mod-auth-openidc | 20.04 | 2.3.10.2-1 | vulnerable |
| Ubuntu | libapache2-mod-auth-openidc | 20.04 | 2.4.0.4-1 | vulnerable |
| Ubuntu | libapache2-mod-auth-openidc | 20.04 | 2.4.1-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libapache2-mod-auth-openidc | source | sid | 2.4.9.4-1 | not yet assigned | Not reported | [993648] |
| Debian | libapache2-mod-auth-openidc | source | forky | 2.4.9.4-1 | not yet assigned | Not reported | [993648] |
| Debian | libapache2-mod-auth-openidc | source | trixie | 2.4.9.4-1 | not yet assigned | Not reported | [993648] |
| Debian | libapache2-mod-auth-openidc | source | bookworm | 2.4.9.4-1 | not yet assigned | Not reported | [993648] |
| Suse | apache2-mod_auth_openidc | rpm | linux enterprise module for server applications 15 sp4 | 2.3.8-150100.3.22.1 | Not reported | SUSE-SU-2023:0215-1 | Not reported |
| Suse | apache2-mod_auth_openidc | rpm | linux enterprise real time 15 sp3 | 2.3.8-150100.3.22.1 | Not reported | SUSE-SU-2023:0215-1 | Not reported |
| Opensuse | apache2-mod_auth_openidc | rpm | leap 15.4 | 2.3.8-150100.3.22.1 | Not reported | SUSE-SU-2023:0215-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libapache2-mod-auth-openidc]Unknown
Details (4)
2.4.12.3-2+deb12u4· amd64 · bookwormFixed · Fixed:
2.4.9.4-1dsa · libapache2-mod-auth-openidc · debian · bookworm; dsa · libapache2-mod-auth-openidc · debian · 12
2.4.12.3-2+deb12u4· arm64 · bookwormFixed · Fixed:
2.4.9.4-1dsa · libapache2-mod-auth-openidc · debian · bookworm; dsa · libapache2-mod-auth-openidc · debian · 12
2.4.12.3-2+deb12u4· amd64 · bookworm-securityFixed · Fixed:
2.4.9.4-1dsa · libapache2-mod-auth-openidc · debian · bookworm; dsa · libapache2-mod-auth-openidc · debian · 12
2.4.12.3-2+deb12u4· arm64 · bookworm-securityFixed · Fixed:
2.4.9.4-1dsa · libapache2-mod-auth-openidc · debian · bookworm; dsa · libapache2-mod-auth-openidc · debian · 12
[Debian 13 (Trixie)]
- [libapache2-mod-auth-openidc]Unknown
Details (3)
2.4.17-1· amd64 · trixieFixed · Fixed:
2.4.9.4-1dsa · libapache2-mod-auth-openidc · debian · 13
2.4.17-1· arm64 · trixieFixed · Fixed:
2.4.9.4-1dsa · libapache2-mod-auth-openidc · debian · 13
2.4.17-1+deb13u1· amd64 · trixie-securityFixed · Fixed:
2.4.9.4-1dsa · libapache2-mod-auth-openidc · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2022:1823]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2022_1823.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-39191]
- [https://osv.dev/vulnerability/DLA-3499-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:0215-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-39191]
- [https://security-tracker.debian.org/tracker/CVE-2021-39191]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2023-0580.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]