6.1

CVE-2021-32786: Open Redirect in oidc_validate_redirect_url()

Modified
AliasesUBUNTU-CVE-2021-32786DEBIAN-CVE-2021-32786
Published 22-07-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-32786 is a medium (CVSS 6.1) URL Redirection to Untrusted Site vulnerability in fedoraproject fedora. EPSS estimates a 2.34% chance of exploitation in the next 30 days, higher than 84.1% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 4.7, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (NVD)
EPSS score
2.34%
0%100%
Low · -0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 9 · Related 6

Timeline

  1. 22-07-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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, `oidc_validate_redirect_url()` does not parse URLs the same way as most browsers do. As a result, this function can be bypassed and leads to an Open Redirect vulnerability in the logout functionality. This bug has been fixed in version 2.4.9 by replacing any backslash of the URL to redirect with slashes to address a particular breaking change between the different specifications (RFC2396 / RFC3986 and WHATWG). As a workaround, this vulnerability can be mitigated by configuring `mod_auth_openidc` to only allow redirection whose destination matches a given regular expression.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

2.34%

Chance of exploitation in the next 30 days

Percentile

84%

Versus all other CVEs

30-day change

Decrease -0.02 pp

From 2.36% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (daniel.haxx.se)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • libapache2-mod-auth-openidc< 2.4.9-1
Fedoraproject1 product
Openidc1 product
Ubuntu1 product
  • libapache2-mod-auth-openidcAll versions (No fix recorded)
Zmartzone1 product

5 vendors · 5 products

References

13 links
Show all 13 references