Skip to main content
No exploitation reportedFix available

CVE-2021-39191

No exploitation reported by the sources we read.

  • Published2021-09-03
  • WeaknessCWE-601

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2021-09-0314:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-24 03:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2021-39191?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2021-39191?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD
Fedoraproject fedora
BranchAffectedFixed in
35.x= 35no fix published
36.x= 36no fix published
Debian debian linux
BranchAffectedFixed in
10.0= 10.0no fix published
Openidc mod auth openidc
BranchAffectedFixed in
2.4< 2.4.9.42.4.9.4

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • cjoseAlmaLinux:8all versions · fixed in 0.6.1-2.module_el8.6.0+2868+44838709and 1 other package
  • mod_auth_openidcAlmaLinux:8all versions · fixed in 2.3.7-11.module_el8.6.0+2868+44838709

Vendor advisories

  • CVE-2021-39191 Red Hat Product Security30 products fixed · 2 known affected

    mod_auth_openidc: open redirect due to target_link_uri parameter not validated

    mod_auth_openidc as a component of Red Hat Enterprise Linux 7 · mod_auth_openidc.src as a component of Red Hat Enterprise Linux 7

  • RHSA-2022:1823 Red Hat Product Security30 products fixed

    Red Hat Security Advisory: mod_auth_openidc:2.3 security update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2022:1823 · 30 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. No fix planned, says the vendor Red Hat Product Security CVE-2021-39191 · 2 productsOut of support scope

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • CNACVSS 3.14.7read 2026-10-23
  • NVDCVSS 3.16.1read 2026-10-23
  • NVDCVSS 2.05.8read 2026-10-23
  • CNAweakness (CWE)CWE-601read 2026-10-23
  • NVDweakness (CWE)CWE-601read 2026-10-23
  • FIRST EPSSEPSS score1.7 %2026-10-23
  • OSVaffected packages—

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
2021-09-03
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2021-39191?

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.

Is CVE-2021-39191 actively exploited?

Active exploitation of CVE-2021-39191 has not been confirmed. Its EPSS score was 1.7% on 2026-10-23, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-39191?

CVE-2021-39191 has a CVSS v3 base score of 6.1 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Running mod_auth_openidc? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month