Spring Framework Data Binding Rules Vulnerability

LOW | APRIL 13, 2022 | CVE-2022-22968

Description

In Spring Framework versions 5.3.0 - 5.3.18, 5.2.0 - 5.2.20, and older unsupported versions, the patterns for disallowedFields on a DataBinder are case sensitive which means a field is not effectively protected unless it is listed with both upper and lower case for the first character of the field, including upper and lower case for the first character of all nested fields within the property path.

Affected Spring Products and Versions

Spring Framework:

  • 5.3.0 - 5.3.18
  • 5.2.20 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
5.3.19OSS
5.2.21OSS

No other steps are necessary, but applications should also review their DataBinder configuration and more broadly their approach to data binding. For more details, please see Data Binding Model Design in the Spring Framework reference manual.

Credit

This vulnerability was discovered internally by the Spring Framework team and is a follow-up to CVE-2022-22965.

History

  • 2022-04-13: Initial vulnerability report published.

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