Spring Expression DoS Vulnerability

MEDIUM | MARCH 28, 2022 | CVE-2022-22950

Description

In Spring Framework versions 5.3.0 - 5.3.16, 5.2.0 - 5.2.19, and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial of service condition.

Affected Spring Products and Versions

Spring Framework:

  • 5.3.0 - 5.3.16
  • 5.2.19 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
5.3.17OSS
5.2.20OSS

No further mitigation steps are necessary.

Credit

This vulnerability was initially discovered and responsibly reported by 4ra1n.

History

  • 2022-03-28: Initial vulnerability report published.
  • 2022-04-05: Clarification that fix was backported to Spring Framework 5.2.20.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all