# CVE-2019-3778: spring-security-oauth and spring-security-oauth2 Open Redirect vulnerability

Source: https://junglewise.ai/threats/cve-2019-3778-spring-security-oauth-and-spring-security-oauth2-open-redirect  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2019-03-14  
License: CC BY 4.0 with a link back

CVE-2019-3778 · Severity: low · CVSS 3.1 · Published 2019-03-14

spring-security-oauth and spring-security-oauth2 Open Redirect vulnerability

Technologies: [org.springframework.security.oauth:spring-security-oauth2 (Maven)](https://junglewise.ai/threats/technologies/org-springframework-security-oauth-spring-security-oauth2). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2019-3778 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2019-3778 being exploited in the wild.

**How severe is CVE-2019-3778?** Low severity, with a CVSS score of 3.1, published 14 March 2019.

**Which products and versions are affected?** org.springframework.security.oauth:spring-security-oauth (Maven) ECOSYSTEM:introduced=0,fixed=2.0.17.RELEASE; org.springframework.security.oauth:spring-security-oauth2 (Maven) ECOSYSTEM:introduced=0,fixed=2.0.17.RELEASE.

**Is there a fix for CVE-2019-3778?** Yes. org.springframework.security.oauth:spring-security-oauth (Maven): upgrade to 2.0.17.RELEASE or later; org.springframework.security.oauth:spring-security-oauth2 (Maven): upgrade to 2.0.17.RELEASE or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2019-3778?** Check whether you run org.springframework.security.oauth:spring-security-oauth (Maven) or org.springframework.security.oauth:spring-security-oauth2 (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.springframework.security.oauth:spring-security-oauth (Maven): upgrade to 2.0.17.RELEASE or later

  ```sh
  # set org.springframework.security.oauth:spring-security-oauth to 2.0.17.RELEASE in your pom.xml or build.gradle
  ```

- org.springframework.security.oauth:spring-security-oauth2 (Maven): upgrade to 2.0.17.RELEASE or later

  ```sh
  # set org.springframework.security.oauth:spring-security-oauth2 to 2.0.17.RELEASE in your pom.xml or build.gradle
  ```


## Affected products

- org.springframework.security.oauth:spring-security-oauth (Maven) ECOSYSTEM:introduced=0,fixed=2.0.17.RELEASE
- org.springframework.security.oauth:spring-security-oauth2 (Maven) ECOSYSTEM:introduced=0,fixed=2.0.17.RELEASE

## Identifiers

- CVE-2019-3778
- GHSA-77rv-6vfw-x4gc

## Related threats

- [Denial of service in Spring Security OAuth2](https://junglewise.ai/threats/cve-2022-22969-denial-of-service-in-spring-security-oauth2)
- [Open Redirect in Spring Security OAuth](https://junglewise.ai/threats/cve-2019-11269-open-redirect-in-spring-security-oauth)
- [Authorization bypass in org.springframework.security.oauth:spring-security-oauth2](https://junglewise.ai/threats/cve-2018-15758-authorization-bypass-in-org-springframework-security-oauth-spring)
- [Spring Security OAuth vulnerable to remote code execution (RCE) via specially crafted request using whitelabel views](https://junglewise.ai/threats/cve-2016-4977-spring-security-oauth-vulnerable-to-remote-code-execution-rce-via)
- [Spring Security OAuth vulnerable to remote code execution (RCE)](https://junglewise.ai/threats/cve-2018-1260-spring-security-oauth-vulnerable-to-remote-code-execution-rce)
