Open Redirect in spring-security-oauth2
Published Mar 7, 2019
6.5
MEDIUMCVSS 3.1
EPSS 15.50%
Description
Spring Security OAuth, versions 2.3 prior to 2.3.5, and 2.2 prior to 2.2.4, and 2.1 prior to 2.1.4, and 2.0 prior to 2.0.17, and older unsupported versions could be susceptible to an open redirector attack that can leak an authorization code. A malicious user or attacker can craft a request to the authorization endpoint using the authorization code grant type, and specify a manipulated redirection URI via the "redirect_uri" parameter. This can cause the authorization server to redirect the resource owner user-agent to a URI under the control of the attacker with the leaked authorization code. This vulnerability exposes applications that meet all of the following requirements: Act in the role of an Authorization Server (e.g. @EnableAuthorizationServer) and uses the DefaultRedirectResolver in the AuthorizationEndpoint. This vulnerability does not expose applications that: Act in the role of an Authorization Server and uses a different RedirectResolver implementation other than DefaultRedirectResolver, act in the role of a Resource Server only (e.g. @EnableResourceServer), act in the role of a Client only (e.g. @EnableOAuthClient).
Affected products
-
- Version 2.0StatusaffectedConstraints<2.0.17.RELEASE
- Version 2.1StatusaffectedConstraints<2.1.4.RELEASE
- Version 2.2StatusaffectedConstraints<2.2.4.RELEASE
- Version 2.3StatusaffectedConstraints<2.3.5.RELEASE
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Spring | Spring Security OAuth | n/a |
|
Configuration 1
- ≥ 2.0.0 · < 2.0.17
- ≥ 2.1.0 · < 2.1.4
- ≥ 2.2.0 · < 2.2.4
- ≥ 2.3.0 · < 2.3.5
Configuration 2
- 14.1.0
- 14.3.0
- 14.4.0
No data.
Red Hat Fuse 7
spring-security-oauth2
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Fuse 7 | spring-security-oauth2 | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
AV:N/AC:L/Au:N/C:P/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (34 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 15.50% (0.15498) | 96.71th | v5 (v2026.06.15) |
| Jun 15, 2026 | 15.62% (0.15621) | 96.40th | v5 (v2026.06.15) |
| Apr 29, 2026 | 14.85% (0.14855) | 94.54th | v4 (v2025.03.14) |
| Mar 13, 2026 | 19.95% (0.19954) | 95.37th | v4 (v2025.03.14) |
| Jan 22, 2026 | 15.33% (0.15330) | 94.43th | v4 (v2025.03.14) |
| Nov 21, 2025 | 17.54% (0.17536) | 94.81th | v4 (v2025.03.14) |
| Nov 18, 2025 | 11.30% (0.11305) | 92.82th | v4 (v2025.03.14) |
| Oct 11, 2025 | 17.54% (0.17536) | 94.75th | v4 (v2025.03.14) |
| Jul 6, 2025 | 20.84% (0.20845) | 95.32th | v4 (v2025.03.14) |
| Jul 5, 2025 | 23.31% (0.23309) | 95.68th | v4 (v2025.03.14) |
| Jul 1, 2025 | 54.83% (0.54832) | 97.90th | v4 (v2025.03.14) |
| Jun 30, 2025 | 47.74% (0.47739) | 97.56th | v4 (v2025.03.14) |
| Mar 30, 2025 | 41.65% (0.41648) | 97.14th | v4 (v2025.03.14) |
| Mar 29, 2025 | 76.97% (0.76972) | 98.65th | v4 (v2025.03.14) |
| Mar 28, 2025 | 41.65% (0.41648) | 97.14th | v4 (v2025.03.14) |
| Mar 27, 2025 | 73.51% (0.73509) | 98.68th | v4 (v2025.03.14) |
| Mar 24, 2025 | 60.57% (0.60572) | 98.14th | v4 (v2025.03.14) |
| Mar 23, 2025 | 73.51% (0.73509) | 98.71th | v4 (v2025.03.14) |
| Mar 20, 2025 | 60.57% (0.60572) | 98.15th | v4 (v2025.03.14) |
| Mar 19, 2025 | 73.51% (0.73509) | 98.71th | v4 (v2025.03.14) |
| Mar 17, 2025 | 60.57% (0.60572) | 98.10th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.44% (0.00439) | 75.64th | v3 (v2023.03.01) |
| Jul 14, 2024 | 0.38% (0.00378) | 73.12th | v3 (v2023.03.01) |
| Mar 21, 2024 | 0.53% (0.00530) | 76.58th | v3 (v2023.03.01) |
| Feb 15, 2024 | 0.54% (0.00538) | 76.59th | v3 (v2023.03.01) |
| Aug 3, 2023 | 0.74% (0.00741) | 78.44th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.78% (0.00778) | 78.60th | v3 (v2023.03.01) |
| Mar 6, 2023 | 7.18% (0.07176) | 92.30th | v2 (v2022.01.01) |
| Apr 1, 2022 | 7.18% (0.07176) | 91.55th | v2 (v2022.01.01) |
| Feb 4, 2022 | 7.18% (0.07176) | 80.33th | v2 (v2022.01.01) |
| Feb 3, 2022 | 4.50% (0.04504) | 76.47th | v1 |
| Jan 6, 2022 | 4.50% (0.04504) | 76.26th | v1 |
| Sep 1, 2021 | 4.50% (0.04504) | 84.13th | v1 |
| Apr 14, 2021 | 4.50% (0.04504) | 0.00th | v1 |
References (10)
- http://packetstormsecurity.com/files/153299/Spring-Security-OAuth-2.3-Open-Redirection.html x_refsource_MISCThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/107153 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2019-3778 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1695979 Issue Tracking
- https://github.com/advisories/GHSA-77rv-6vfw-x4gc Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-3778
- https://pivotal.io/security/cve-2019-3778 x_refsource_CONFIRMVendor Advisory
- https://web.archive.org/web/20200227084837/http://www.securityfocus.com/bid/107153
- https://www.cve.org/CVERecord?id=CVE-2019-3778
- https://www.oracle.com/security-alerts/cpujan2021.html x_refsource_MISCThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| http://packetstormsecurity.com/files/153299/Spring-Security-OAuth-2.3-Open-Redirection.html | x_refsource_MISCThird Party AdvisoryVDB Entry | |
| http://www.securityfocus.com/bid/107153 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/security/cve/CVE-2019-3778 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1695979 | Issue Tracking | |
| https://github.com/advisories/GHSA-77rv-6vfw-x4gc | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-3778 | ||
| https://pivotal.io/security/cve-2019-3778 | x_refsource_CONFIRMVendor Advisory | |
| https://web.archive.org/web/20200227084837/http://www.securityfocus.com/bid/107153 | ||
| https://www.cve.org/CVERecord?id=CVE-2019-3778 | ||
| https://www.oracle.com/security-alerts/cpujan2021.html | x_refsource_MISCThird Party Advisory |
Change history (0)
No recorded changes yet.