CVE-2021-22053 — spring-cloud-netflix-hyst…
HIGHCVE-2021-22053 is a high-severity (CVSS 8.8) Code Injection vulnerability in org.springframework.cloud:spring-cloud-netflix-hystrix-dashboard. 3 public exploit references exist, so weaponization risk is real. A fix is available for org.springframework.cloud:spring-cloud-netflix-hystrix-dashboard — see the affected versions and patch details below.
Code injection in spring-cloud-netflix-hystrix-dashboard
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2021-22053 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,386 CVEs with a current EPSS score, this one falls in the 10–50% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
org.springframework.cloud:spring-cloud-netflix-hystrix-dashboardReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Applications using both spring-cloud-netflix-hystrix-dashboard and spring-boot-starter-thymeleaf expose a way to execute code submitted within the request URI path during the resolution of view templates. When a request is made at /hystrix/monitor;[user-provided data], the path elements following hystrix/monitor are being evaluated as SpringEL expressions, which can lead to code execution.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.springframework.cloud:spring-cloud-netflix-hystrix-dashboard | all versions | 2.2.10.RELEASEorg.springframework.cloud:spring-cloud-netflix-hystrix-dashboard:2.2.10.RELEASE |
Affected Products
spring cloud netflixvmwareResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.springframework.cloud:spring-cloud-netflix-hystrix-dashboard, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.springframework.cloud:spring-cloud-netflix-hystrix-dashboard to 2.2.10.RELEASE or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-22053 is resolved across your whole dependency graph.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
How to detect CVE-2021-22053
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2021-22053 -u https://target- Template
- Spring Cloud Netflix Hystrix Dashboard <2.2.10 - Remote Code Execution
- Severity
- high
- Impact
- Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the target system.
- Remediation
- Upgrade to Spring Cloud Netflix Hystrix Dashboard version 2.2.10 or later to mitigate this vulnerability.
Template by ProjectDiscovery nuclei-templates (forgedhallpass), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2021-22053 in your dependencies?
Find it across Maven, including transitive dependencies.