p PatchFirst

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.

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 | sh
Check your server for free →

Channels 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

Original sources

Check your server →