Skip to content

← Public intelligence

Maven package

org.springframework.security.oauth:spring-security-oauth2

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

5 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.5MavenPublished

    Denial of service in Spring Security OAuth2

    CVE-2022-22969 · GHSA-c2cp-3xj9-97w9

    Affected
    • Maven org.springframework.security.oauth:spring-security-oauth2 >= 2.5.0.RELEASE, < 2.5.2.RELEASE; >= 2.4.0.RELEASE, < 2.4.2.RELEASE
    Fixed in
    2.4.2.RELEASE2.5.2.RELEASE· Vendor fix available
    Issue
    Spring Security OAuth versions 2.5.x prior to 2.5.2 and older unsupported versions are susceptible to a Denial-of-Service (DoS) attack via the initiation of the Authorization Request in an OAuth 2.0 Client application. A malicious user or attacker can send multiple requests initiating the Authorization Request for the Authorization Code Grant, which has the potential of exhausting system resources using a single session. This vulnerability exposes OAuth 2.0 Client applications only.

    Recommended action: Upgrade to 2.5.2.RELEASE or 2.4.2.RELEASE by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 6.5MavenPublished

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

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

    Affected
    • Maven org.springframework.security.oauth:spring-security-oauth2 < 2.0.17.RELEASE; >= 2.1.0.RELEASE, < 2.1.4.RELEASE; >= 2.2.0.RELEASE, < 2.2.4.RELEASE; >= 2.3.0.RELEASE, < 2.3.5.RELEASE
    Fixed in
    2.3.5.RELEASE2.1.4.RELEASE2.2.4.RELEASE2.0.17.RELEASE· Vendor fix available
    Issue
    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 "redirecturi" 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…

    Recommended action: Upgrade to 2.3.5.RELEASE, 2.2.4.RELEASE, 2.1.4.RELEASE or 2.0.17.RELEASE by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. High, CVSS 8.1MavenPublished

    Authorization bypass in org.springframework.security.oauth:spring-security-oauth2

    CVE-2018-15758 · GHSA-h8w4-qv99-f7vj

    Affected
    • Maven org.springframework.security.oauth:spring-security-oauth2 >= 2.0.0, < 2.0.16; >= 2.1.0, < 2.1.3; >= 2.2.0, < 2.2.3.RELEASE; >= 2.3.0, < 2.3.4.RELEASE
    Fixed in
    2.2.3.RELEASE2.1.32.0.162.3.4.RELEASE· Vendor fix available
    Issue
    Spring Security OAuth, versions 2.3 prior to 2.3.4, and 2.2 prior to 2.2.3, and 2.1 prior to 2.1.3, and 2.0 prior to 2.0.16, and older unsupported versions could be susceptible to a privilege escalation under certain conditions. A malicious user or attacker can craft a request to the approval endpoint that can modify the previously saved authorization request and lead to a privilege escalation on the subsequent approval. This scenario can happen if the application is configured to use a custom approval endpoint that declares AuthorizationRequest as a controller method argument. This vulnerability exposes applications that meet all of the following requirements: Act in the role of an Authorization Server (e.g. @EnableAuthorizationServer) and use a custom Approval Endpoint that declares AuthorizationRequest as a controller method argument. This vulnerability does not expose applications that: Act in the role of an Authorization Server and use the default Approval Endpoint, act in the…

    Recommended action: Upgrade to 2.3.4.RELEASE, 2.2.3.RELEASE, 2.1.3 or 2.0.16 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. High, CVSS 8.8MavenPublished

    Spring Security OAuth vulnerable to remote code execution (RCE) via specially crafted request using whitelabel views

    CVE-2016-4977 · GHSA-7q9c-h23x-65fq

    Affected
    • Maven org.springframework.security.oauth:spring-security-oauth2 >= 2.0.0, < 2.0.10; >= 1.0.0, < 1.0.5
    Fixed in
    2.0.101.0.5· Vendor fix available
    Issue
    When processing authorization requests using the whitelabel views in Spring Security OAuth 2.0.0 to 2.0.9 and 1.0.0 to 1.0.5, the responsetype parameter value was executed as Spring SpEL which enabled a malicious user to trigger remote code execution via the crafting of the value for responsetype.

    Recommended action: Upgrade to 2.0.10 or 1.0.5 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. Critical, CVSS 9.8MavenPublished

    Spring Security OAuth vulnerable to remote code execution (RCE)

    CVE-2018-1260 · GHSA-rrpm-pj7p-7j9q

    Affected
    • Maven org.springframework.security.oauth:spring-security-oauth2 >= 2.3.0, < 2.3.3; >= 2.2.0, < 2.2.2; >= 2.1.0, < 2.1.2; >= 2.0.0, < 2.0.15; >= 1.0.0, <= 1.0.5
    Fixed in
    2.0.152.1.22.3.32.2.2· Partial vendor fix
    Issue
    Spring Security OAuth versions prior to 2.3.3, prior to 2.2.2, prior to 2.1.2, and prior to 2.0.15 contain a remote code execution vulnerability. An attacker can craft an authorization request to the authorization endpoint that can lead to remote code execution when the resource owner is forwarded to the approval endpoint.

    Recommended action: Upgrade to 2.3.3, 2.2.2, 2.1.2 or 2.0.15 by release line; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →