Cantara/Whydah-OAuth2Service

Snyk’s security scan found the following vulnerabilities.
Ready to fix your vulnerabilities? Automatically find, fix, and monitor vulnerabilities for free with Snyk.

Vulnerabilities

4 via 20 paths

Dependencies

123

Source

GitHub

Commit

936671b6

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 4
  • 3
Severity
  • 1
  • 3
  • 3
Status
  • 7
  • 0
  • 0

high severity

Denial of Service (DoS)

  • Vulnerable module: net.minidev:json-smart
  • Introduced through: com.jayway.jsonpath:json-path@2.9.0 and net.whydah.sso:Whydah-Admin-SDK@2.30.6

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 com.jayway.jsonpath:json-path@2.9.0 net.minidev:json-smart@2.5.0
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 net.whydah.sso:Whydah-Admin-SDK@2.30.6 net.whydah.sso:Whydah-Java-SDK@2.30.5 net.whydah.sso:Whydah-TypeLib@2.30.5 net.minidev:json-smart@2.5.0
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 net.whydah.sso:Whydah-Admin-SDK@2.30.6 net.whydah.sso:Whydah-Java-SDK@2.30.5 net.whydah.sso:Whydah-TypeLib@2.30.5 com.jayway.jsonpath:json-path@2.9.0 net.minidev:json-smart@2.5.0

Overview

net.minidev:json-smart is a Java JSON parser.

Affected versions of this package are vulnerable to Denial of Service (DoS). An attacker can cause a stack exhaustion and subsequent service disruption by providing JSON input with an excessive number of nested {.

Note:

This issue exists because of an incomplete fix for CVE-2023-1370.

Details

Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.

Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.

One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.

When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.

Two common types of DoS vulnerabilities:

  • High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.

  • Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm ws package

Remediation

Upgrade net.minidev:json-smart to version 2.5.2 or higher.

References

medium severity

Dual license: EPL-1.0, LGPL-2.1

  • Module: ch.qos.logback:logback-classic
  • Introduced through: ch.qos.logback:logback-classic@1.5.18

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 ch.qos.logback:logback-classic@1.5.18

Dual license: EPL-1.0, LGPL-2.1

medium severity

Dual license: EPL-1.0, LGPL-2.1

  • Module: ch.qos.logback:logback-core
  • Introduced through: ch.qos.logback:logback-classic@1.5.18

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 ch.qos.logback:logback-classic@1.5.18 ch.qos.logback:logback-core@1.5.18

Dual license: EPL-1.0, LGPL-2.1

medium severity
new

EPL-1.0 license

  • Module: org.aspectj:aspectjweaver
  • Introduced through: org.constretto:constretto-spring@2.2.3

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.constretto:constretto-spring@2.2.3 org.aspectj:aspectjweaver@1.7.4

EPL-1.0 license

low severity

Improper Handling of Case Sensitivity

  • Vulnerable module: org.springframework:spring-context
  • Introduced through: org.springframework:spring-context@5.3.39 and org.constretto:constretto-spring@2.2.3

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.springframework:spring-context@5.3.39
    Remediation: Upgrade to org.springframework:spring-context@6.1.14.
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.constretto:constretto-spring@2.2.3 org.springframework:spring-context@5.3.39

Overview

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity due to String.toLowerCase() having some Locale dependent exceptions that could potentially result in fields not protected as expected.

Note:

The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive.

This vulnerability was also fixed in commercial versions 5.3.41 and 6.0.25.

Remediation

Upgrade org.springframework:spring-context to version 6.1.14 or higher.

References

low severity

Improper Handling of Case Sensitivity

  • Vulnerable module: org.springframework:spring-core
  • Introduced through: org.springframework:spring-core@5.3.39, org.springframework:spring-context@5.3.39 and others

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.springframework:spring-core@5.3.39
    Remediation: Upgrade to org.springframework:spring-core@6.1.14.
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.springframework:spring-context@5.3.39 org.springframework:spring-core@5.3.39
    Remediation: Upgrade to org.springframework:spring-context@6.1.14.
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.springframework:spring-web@5.3.39 org.springframework:spring-core@5.3.39
    Remediation: Upgrade to org.springframework:spring-web@6.1.14.
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.glassfish.jersey.ext:jersey-spring4@2.46 org.springframework:spring-core@5.3.39
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.springframework:spring-beans@5.3.39 org.springframework:spring-core@5.3.39
    Remediation: Upgrade to org.springframework:spring-beans@6.1.14.
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.springframework:spring-aop@5.3.39 org.springframework:spring-core@5.3.39
    Remediation: Upgrade to org.springframework:spring-aop@6.1.14.
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.springframework:spring-context@5.3.39 org.springframework:spring-expression@5.3.39 org.springframework:spring-core@5.3.39
    Remediation: Upgrade to org.springframework:spring-context@6.1.14.
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.glassfish.jersey.ext:jersey-spring4@2.46 org.springframework:spring-web@5.3.39 org.springframework:spring-core@5.3.39
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.springframework:spring-context@5.3.39 org.springframework:spring-beans@5.3.39 org.springframework:spring-core@5.3.39
    Remediation: Upgrade to org.springframework:spring-context@6.1.14.
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.springframework:spring-web@5.3.39 org.springframework:spring-beans@5.3.39 org.springframework:spring-core@5.3.39
    Remediation: Upgrade to org.springframework:spring-web@6.1.14.
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.springframework:spring-aop@5.3.39 org.springframework:spring-beans@5.3.39 org.springframework:spring-core@5.3.39
    Remediation: Upgrade to org.springframework:spring-aop@6.1.14.
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.springframework:spring-context@5.3.39 org.springframework:spring-aop@5.3.39 org.springframework:spring-core@5.3.39
    Remediation: Upgrade to org.springframework:spring-context@6.1.14.
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.springframework:spring-context@5.3.39 org.springframework:spring-aop@5.3.39 org.springframework:spring-beans@5.3.39 org.springframework:spring-core@5.3.39
    Remediation: Upgrade to org.springframework:spring-context@6.1.14.

…and 10 more

Overview

org.springframework:spring-core is a core package within the spring-framework that contains multiple classes and utilities.

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity due to String.toLowerCase() having some Locale dependent exceptions that could potentially result in fields not protected as expected.

Note:

The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive.

This vulnerability was also fixed in commercial versions 5.3.41 and 6.0.25.

Remediation

Upgrade org.springframework:spring-core to version 6.1.14 or higher.

References

low severity

Improper Handling of Case Sensitivity

  • Vulnerable module: org.springframework:spring-web
  • Introduced through: org.springframework:spring-web@5.3.39 and org.glassfish.jersey.ext:jersey-spring4@2.46

Detailed paths

  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.springframework:spring-web@5.3.39
    Remediation: Upgrade to org.springframework:spring-web@6.1.14.
  • Introduced through: Cantara/Whydah-OAuth2Service@Cantara/Whydah-OAuth2Service#936671b6db5b4453aeb15947e5b49e548dece8e2 org.glassfish.jersey.ext:jersey-spring4@2.46 org.springframework:spring-web@5.3.39

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity due to String.toLowerCase() having some Locale dependent exceptions that could potentially result in fields not protected as expected.

Note:

The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive.

This vulnerability was also fixed in commercial versions 5.3.41 and 6.0.25.

Remediation

Upgrade org.springframework:spring-web to version 6.1.14 or higher.

References