CVE-2021-39191
CVE-2021-39191 · URL Redirection to Untrusted Site ('Open Redirect') in mod_auth_openidc
CVSS 4.7 · Medium · EPSS 1.7% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- mod_auth_openidcNo fix published
- libapache2-mod-auth-openidc Debian 12Update to 2.4.9.4-1
- libapache2-mod-auth-openidc Debian 13Update to 2.4.9.4-1
- libapache2-mod-auth-openidc Debian 14Update to 2.4.9.4-1
- and 2 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libapache2-mod-auth-openidc"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- SUSE-SU-2025:4532-1 · openSUSE Leap 15.6, SUSE Linux Enterprise Module for Server Applications 15 SP6, SUSE Linux Enterprise Module for Server Applications 15 SP7 ·
- RHSA-2022:1823 · Red Hat Enterprise Linux 8 appstream ·
- DLA-3499-1 · Debian 10 ·
- SUSE-SU-2023:0215-1 · openSUSE Leap 15.4, SUSE Linux Enterprise Module for Server Applications 15 SP4, SUSE Linux Enterprise Real Time 15 SP3 ·
- ALSA-2022:1823 · AlmaLinux 8 ·
- RLSA-2022:1823 · Rocky Linux 8 ·
- SUSE-SU-2021:3352-1 · SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP5 ·
Stack: system
Affected products and versions
mod_auth_openidc
- Versions
- <=2.4.9.3: Affected
No fix published
libapache2-mod-auth-openidc Debian 12
- Affected ranges
- ECOSYSTEM: < 2.4.9.4-1
Update to 2.4.9.4-1
libapache2-mod-auth-openidc Debian 13
- Affected ranges
- ECOSYSTEM: < 2.4.9.4-1
Update to 2.4.9.4-1
libapache2-mod-auth-openidc Debian 14
- Affected ranges
- ECOSYSTEM: < 2.4.9.4-1
Update to 2.4.9.4-1
libapache2-mod-auth-openidc Ubuntu 18.04 LTS
- Versions
- 2.1.6-1
- 2.3.1-2
- 2.3.2-1
- 2.3.2-1build1
- 2.3.3-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libapache2-mod-auth-openidc Ubuntu 20.04 LTS
- Versions
- 2.3.10.2-1
- 2.4.0.4-1
- 2.4.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- 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
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/32RGPW5LZDLDTB7MKZIGAHPSLFOUNWR5/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RHXO4O4G2UQS7X6OQJCVZKHZAQ7SAIFB/
- https://lists.debian.org/debian-lts-announce/2023/07/msg00020.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-39191