Learn about CVE-2021-22047 impacting Spring Data REST versions 3.4.0 - 3.4.13, 3.5.0 - 3.5.5 that exposes sensitive information to unauthorized actors. Find mitigation steps here.
Spring Data REST versions 3.4.0 - 3.4.13, 3.5.0 - 3.5.5, and older unsupported versions are affected by a vulnerability that exposes HTTP resources implemented by custom controllers, potentially leading to unauthorized access depending on Spring Security configuration.
Understanding CVE-2021-22047
This CVE impacts Spring Data REST versions, leading to exposure of sensitive information.
What is CVE-2021-22047?
CVE-2021-22047 affects Spring Data REST versions 3.4.0 - 3.4.13, 3.5.0 - 3.5.5, and older unsupported versions by exposing HTTP resources implemented by custom controllers under URIs that could be accessed without authorization.
The Impact of CVE-2021-22047
The vulnerability exposes sensitive information to unauthorized actors, posing a risk of data compromise and unauthorized access.
Technical Details of CVE-2021-22047
This section outlines the specific details of the CVE.
Vulnerability Description
The vulnerability allows HTTP resources implemented by custom controllers to be exposed without proper authorization, depending on the Spring Security configuration.
Affected Systems and Versions
Spring Data REST versions 3.4.0 - 3.4.13, 3.5.0 - 3.5.5, and older unsupported versions are affected by this vulnerability.
Exploitation Mechanism
Unauthorized actors could potentially access HTTP resources implemented by custom controllers due to misconfigurations in Spring Security.
Mitigation and Prevention
Learn how to prevent and mitigate the impact of CVE-2021-22047.
Immediate Steps to Take
It is recommended to update to the patched versions, 3.4.14+ and 3.5.6+, or apply security configurations to restrict unauthorized access.
Long-Term Security Practices
Implement secure coding practices, regularly update Spring Data REST versions, and monitor security advisories for any future vulnerabilities.
Patching and Updates
Regularly check for security updates and apply patches promptly to secure your systems against CVE-2021-22047.