CVE-2020-5412: Externally Controlled Reference to a Resource in Another Sphere and Confused Deputy in Spring Cloud Netflix
Summary
CVE-2020-5412: Spring Cloud Netflix, versions 2.2.x prior to 2.2.4, versions 2.1.x prior to 2.1.6, and older unsupported versions allow applications to use the Hystrix Dashboard proxy.stream endpoint to make requests to any server reac... Affects org.springframework.cloud:spring-cloud-netflix across 2 version ranges.
>= 2.1.0, < 2.1.6
>= 2.2.0, < 2.2.4
Fixed in 2.1.6 or 2.2.4, depending on the release line you run. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
Spring Cloud Netflix is a framework for building resilient and scalable microservices using the Netflix OSS stack. It provides integration with various Netflix components such as Eureka, Hystrix, Ribbon, and Zuul. This vulnerability affects versions 2.2.x prior to 2.2.4 and versions 2.1.x prior to 2.1.6 of the Spring Cloud Netflix package. The package allows applications to utilize the Hystrix Dashboard proxy.stream endpoint, which can be exploited by a malicious user to make requests to any server accessible by the server hosting the dashboard.
Vulnerability Detail
The vulnerability arises from the ability of an attacker to send requests to servers that should not be publicly exposed. By leveraging the Hystrix Dashboard proxy.stream endpoint, an attacker can bypass security measures and interact with servers that should be restricted. This can lead to unauthorized access, data leakage, and potential compromise of sensitive information. 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.
-
>= 2.1.0, < 2.1.62.1.6 -
>= 2.2.0, < 2.2.42.2.4
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 known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading to the latest version of Spring Cloud Netflix.
Conclusion
In conclusion, the CVE-2020-5412 vulnerability in Spring Cloud Netflix allows an attacker to make unauthorized requests to servers that should not be publicly exposed. To mitigate this vulnerability, it is crucial to upgrade to the latest fixed versions of Spring Cloud Netflix. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.springframework.cloud:spring-cloud-netflix →
FAQ
Spring Cloud Netflix is a framework for building microservices using the Netflix OSS stack. It provides integration with various Netflix components such as Eureka, Hystrix, Ribbon, and Zuul.
The vulnerability allows an attacker to make requests to servers that should not be publicly exposed. This can lead to unauthorized access, data leakage, and potential compromise of sensitive information.
To fix this vulnerability, it is recommended to upgrade to the latest version of Spring Cloud Netflix (2.2.4 for versions 2.2.x and 2.1.6 for versions 2.1.x).
There is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading to the latest version of Spring Cloud Netflix.
The CVSS score of this vulnerability is 6.5, indicating a moderate severity level.