Spring Security Advisories

CVE-2021-22096: 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 to 5.3.10
    • 5.2.0 to 5.2.17
    • Older, unsupported versions are also affected

Mitigation

Users of affected versions should apply the following mitigation: 5.3.x users should upgrade to 5.3.12+, 5.2.x users should upgrade to 5.2.18+. No other steps are necessary. Note: 5.3.11 also contains the mitigation but has another major regression. Releases that have fixed this issue include:

  • Spring Framework
    • 5.3.12+
    • 5.2.18+

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 Runtime 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