Log Injection in Spring Framework

MEDIUM | OCTOBER 26, 2021 | CVE-2021-22096

Description

In Spring Framework versions 5.3.0 - 5.3.10, 5.2.0 - 5.2.17, and older unsupported versions, it is possible for a user to provide malicious input to cause the insertion of additional log entries.

Affected Spring Products and Versions

Spring Framework:

  • 5.3.0 - 5.3.10
  • 5.2.17.RELEASE and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
5.3.12OSS
5.2.18.RELEASEOSS

No other steps are necessary. Note: 5.3.11 also contains the mitigation but has another major regression.

Credit

This vulnerability was initially discovered and responsibly reported by Dennis Kennedy.

History

  • 2021-10-26: 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