In Spring Framework versions 6.0.0 - 6.0.6, 5.3.0 - 5.3.25, 5.2.0.RELEASE - 5.2.22.RELEASE, and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial-of-service (DoS) condition.
Summary
AIAffected Spring Framework versions may experience a denial of service when a user provides a specially crafted SpEL expression. The input does not specify whether the attacker needs network access or authentication.
Who should check
Teams using Maven org.springframework:spring-expression should check versions 6.0.0–6.0.6, 5.3.0–5.3.25, versions before 5.2.23.RELEASE, and older unsupported versions.
What to do
- 1Upgrade spring-expression to 6.0.7, 5.3.26, or 5.2.23.RELEASE, as appropriate for your release line.