8.8high
Code injection in spring-cloud-netflix-hystrix-dashboard
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 13.2% (higher than 96% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- vmware
- Also known as
- GHSA-gx3f-hq7p-8fxv
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
| Product or package | Versions | Reported by |
|---|---|---|
| Spring Cloud Netflix | Spring Cloud Netflix versions 2.2.x prior to 2.2.10.Release + and old unsupported versions | CVE List |
| org.springframework.cloud:spring-cloud-netflix-hystrix-dashboard (Maven) | before 2.2.10.RELEASE | GitHub Advisory Database |
| vmware spring_cloud_netflix | from 2.2.0 before 2.2.10 | NVD |
All scores
| GitHub | 7.6high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Applications using the spring-cloud-netflix-hystrix-dashboard 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.
NVD (es)
Las aplicaciones que usan tanto "spring-cloud-netflix-hystrix-dashboard" como "spring-boot-starter-thymeleaf" exponen una forma de ejecutar código enviado dentro de la ruta URI de petición durante la resolución de las plantillas de vista. Cuando es realizada una petición en "/hystrix/monitor;[user-provided data]", los elementos de la ruta que siguen a "hystrix/monitor" están siendo evaluados como expresiones SpringEL, lo que puede conllevar a una ejecución de código
References
| https://tanzu.vmware.com/security/cve-2021-22053 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-22053 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22053 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gx3f-hq7p-8fxv changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-22053 changed 2026-06-17 | Public domain |