CVE-2020-5421: Improper Input Validation in Spring Framework

Summary

30/04/2021
Yes i
Moderate
6.5

CVE-2020-5421: Improper Input Validation in Spring Framework. Affects org.springframework:spring-framework-bom across 4 version ranges.

< 4.3.29 >= 5.0.0, < 5.0.19 >= 5.1.0, < 5.1.18 >= 5.2.0, < 5.2.9

Fixed in 4 releases; the minimum fixed version depends on the release line you run. How to fix ↓

Also tracked for

The same CVE-2020-5421 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Spring Framework is a popular open-source application framework for Java. It provides comprehensive infrastructure support for developing Java applications. The framework offers features such as dependency injection, aspect-oriented programming, and MVC architecture. This vulnerability affects versions 5.2.0 - 5.2.8, 5.1.0 - 5.1.17, 5.0.0 - 5.0.18, 4.3.0 - 4.3.28, and older unsupported versions of the Spring Framework. The vulnerability allows for the bypassing of protections against RFD (Request Forgery with Redirect) attacks, depending on the browser used and the presence of a jsessionid path parameter.

Vulnerability Detail

The vulnerability arises from improper input validation in the Spring Framework. It specifically affects the protections against RFD attacks from CVE-2015-5211. By exploiting this vulnerability, an attacker can bypass the RFD protections, potentially leading to unauthorized access, data leakage, or other malicious activities. The vulnerability has a CVSS score of 6.5, indicating a moderate severity level.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 4.3.29 4.3.29
  • >= 5.0.0, < 5.0.19 5.0.19
  • >= 5.1.0, < 5.1.18 5.1.18
  • >= 5.2.0, < 5.2.9 5.2.9

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in the Spring Framework allows for the bypassing of protections against RFD attacks, potentially leading to unauthorized access, data leakage, or other malicious activities. It is recommended to update the framework to the fixed versions mentioned above to mitigate the vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.springframework:spring-framework-bom →

Share this vulnerability

FAQ

The vulnerability allows for the bypassing of protections against RFD attacks, potentially leading to unauthorized access, data leakage, or other malicious activities.

Versions 5.2.0 - 5.2.8, 5.1.0 - 5.1.17, 5.0.0 - 5.0.18, 4.3.0 - 4.3.28, and older unsupported versions are affected.

Yes, the vulnerability has a CVSS score of 6.5, indicating a moderate severity level.

There are no known exploits for this vulnerability at the moment.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 4.3.29 4.3.29
  • >= 5.0.0, < 5.0.19 5.0.19
  • >= 5.1.0, < 5.1.18 5.1.18
  • >= 5.2.0, < 5.2.9 5.2.9

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback