CVE-2024-38820: Spring Framework DataBinder Case Sensitive Match Exception

LOW | OCTOBER 17, 2024 | CVE-2024-38820

Description

The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive. However, String.toLowerCase() has some Locale dependent exceptions that could potentially result in fields not protected as expected.

Affected Spring Products and Versions

Spring Framework:

  • 5.3.0 - 5.3.40
  • 6.0.0 - 6.0.24
  • 6.1.0 - 6.1.13
  • Older, unsupported versions are also affected

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.

Affected version(s) Fix version Availability
5.3.x 5.3.41 Commercial
6.0.x 6.0.25 Commercial
6.1.x 6.1.14 OSS

No other mitigation steps are necessary.

Credit

The vulnerability was reported responsibly by Marek Parfianowicz, Principal Engineer at Atlassian.

References

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