org.springframework:spring-expression@5.2.9.RELEASE

  • latest version

    7.0.9

  • latest non vulnerable version

  • first published

    16 years ago

  • latest version published

    6 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.springframework:spring-expression package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Allocation of Resources Without Limits or Throttling

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the SimpleEvaluationContext file when the SpEL expression compiler is enabled through specific configuration settings. An attacker can cause unbounded class-loading growth and bypass enforced safety checks by submitting specially crafted expressions for evaluation.

    Note: This is only exploitable if the application evaluates SpEL expressions using SimpleEvaluationContext and the SpEL expression compiler is active via the spring.expression.compiler.mode property or a SpelParserConfiguration set to IMMEDIATE or MIXED.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade org.springframework:spring-expression to version 7.0.9 or higher.

    [,7.0.9)
    • H
    Allocation of Resources Without Limits or Throttling

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the evaluation of user-supplied SpEL expressions containing the power operator (^) with a BigDecimal or BigInteger operand and a large exponent value. An attacker can cause excessive CPU and memory consumption by submitting specially crafted expressions.

    Note: This is only exploitable if the application accepts and evaluates untrusted SpEL expressions and a BigDecimal or BigInteger value is accessible within the evaluation context.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade org.springframework:spring-expression to version 7.0.9 or higher.

    [,7.0.9)
    • M
    Allocation of Resources Without Limits or Throttling

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

    How to fix Allocation of Resources Without Limits or Throttling?

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

    [,5.2.24.RELEASE)[5.3.0,5.3.27)[6.0.0,6.0.8)
    • M
    Allocation of Resources Without Limits or Throttling

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

    How to fix Allocation of Resources Without Limits or Throttling?

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

    [,5.2.23.RELEASE)[5.3.0,5.3.26)[6.0.0,6.0.7)
    • M
    Denial of Service (DoS)

    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.

    How to fix Denial of Service (DoS)?

    Upgrade org.springframework:spring-expression to version 5.2.20.RELEASE, 5.3.17 or higher.

    [,5.2.20.RELEASE)[5.3.0,5.3.17)