Cantara/Whydah-CRMService

Vulnerabilities

7 via 9 paths

Dependencies

167

Source

GitHub

Commit

2336dd01

Find, fix and prevent vulnerabilities in your code.

Issue type
  • 7
  • 3
Severity
  • 1
  • 7
  • 2
Status
  • 10
  • 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-Java-SDK@2.30.6

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService#2336dd014435f9d6dff93767549d34f598790f9b com.jayway.jsonpath:json-path@2.9.0 net.minidev:json-smart@2.5.0
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService#2336dd014435f9d6dff93767549d34f598790f9b net.whydah.sso:Whydah-Java-SDK@2.30.6 net.whydah.sso:Whydah-TypeLib@2.30.5 net.minidev:json-smart@2.5.0
  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService#2336dd014435f9d6dff93767549d34f598790f9b net.whydah.sso:Whydah-Java-SDK@2.30.6 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

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.springframework:spring-expression
  • Introduced through: org.constretto:constretto-spring@2.2.3

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService#2336dd014435f9d6dff93767549d34f598790f9b org.constretto:constretto-spring@2.2.3 org.springframework:spring-context@3.2.11.RELEASE org.springframework:spring-expression@3.2.11.RELEASE

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling when a user provides a very long SpEL expression.

Remediation

Upgrade org.springframework:spring-expression to version 5.2.24.RELEASE, 5.3.27, 6.0.8 or higher.

References

medium severity

Allocation of Resources Without Limits or Throttling

  • Vulnerable module: org.springframework:spring-expression
  • Introduced through: org.constretto:constretto-spring@2.2.3

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService#2336dd014435f9d6dff93767549d34f598790f9b org.constretto:constretto-spring@2.2.3 org.springframework:spring-context@3.2.11.RELEASE org.springframework:spring-expression@3.2.11.RELEASE

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via a crafted SpEL expression.

Remediation

Upgrade org.springframework:spring-expression to version 5.2.23.RELEASE, 5.3.26, 6.0.7 or higher.

References

medium severity

Denial of Service (DoS)

  • Vulnerable module: org.springframework:spring-expression
  • Introduced through: org.constretto:constretto-spring@2.2.3

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService#2336dd014435f9d6dff93767549d34f598790f9b org.constretto:constretto-spring@2.2.3 org.springframework:spring-context@3.2.11.RELEASE org.springframework:spring-expression@3.2.11.RELEASE

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS) by providing a specially crafted SpEL expression, that might result in an OutOfMemoryError.

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 org.springframework:spring-expression to version 5.2.20.RELEASE, 5.3.17 or higher.

References

medium severity

Resource Exhaustion

  • Vulnerable module: com.rabbitmq:amqp-client
  • Introduced through: io.ratpack:ratpack-dropwizard-metrics@1.9.0

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService#2336dd014435f9d6dff93767549d34f598790f9b io.ratpack:ratpack-dropwizard-metrics@1.9.0 io.dropwizard.metrics:metrics-graphite@4.1.6 com.rabbitmq:amqp-client@5.5.3

Overview

Affected versions of this package are vulnerable to Resource Exhaustion in DirectMessageListenerContainer.java, which does not use maxBodyLebgth. An attacker can cause a memory overflow and trigger an Out Of Memory error by sending a very large Message object.

Remediation

Upgrade com.rabbitmq:amqp-client to version 5.14.3, 5.16.1, 5.17.1 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-CRMService@Cantara/Whydah-CRMService#2336dd014435f9d6dff93767549d34f598790f9b 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-CRMService@Cantara/Whydah-CRMService#2336dd014435f9d6dff93767549d34f598790f9b 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-CRMService@Cantara/Whydah-CRMService#2336dd014435f9d6dff93767549d34f598790f9b 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.constretto:constretto-spring@2.2.3

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService#2336dd014435f9d6dff93767549d34f598790f9b org.constretto:constretto-spring@2.2.3 org.springframework:spring-context@3.2.11.RELEASE

Overview

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity via the patterns for disallowedFields on a DataBinder. As a result, a field is not effectively protected unless it is listed with both upper and lower case for the first character of the field, including nested fields within the property path.

Remediation

Upgrade org.springframework:spring-context to version 5.2.21, 5.3.19 or higher.

References

low severity

Improper Handling of Case Sensitivity

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

Detailed paths

  • Introduced through: Cantara/Whydah-CRMService@Cantara/Whydah-CRMService#2336dd014435f9d6dff93767549d34f598790f9b org.constretto:constretto-spring@2.2.3 org.springframework:spring-context@3.2.11.RELEASE

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