Patchfirst
CVE-2021-22053 Public exploit EPSS 13.2%

Applications using both `spring-cloud-netflix-hystrix-dashboard` and `spring-boot-starter-thymeleaf` expose a way to…

Fix:upgrade spring-cloud-netflix-hystrix-dashboard to 2.2.10.RELEASE or later Details ↓

Summary

Applications that use both spring-cloud-netflix-hystrix-dashboard and spring-boot-starter-thymeleaf contain a flaw in which path segments of the request URI are evaluated as SpringEL expressions during view template resolution, specifically on requests to hystrix/monitor. An attacker who can send a crafted request to a path such as /hystrix/monitor;[attacker-supplied content] can cause the injected expression to be executed, which can lead to arbitrary code execution.

Official description · CVE.org

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.

Breakdown
60.4 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 6 months after disclosure. Public exploit code (PoC-in-GitHub) appeared 2 days after disclosure.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+2 days
  3. First seen exploitedVulnCheck KEV evidence+6 mo

Affected versions and fixes

as published in the CVE record

Spring Cloud Netflix

Affected: Spring Cloud Netflix versions 2.2.x prior to 2.2.10.Release + and old unsupported versions

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: org.springframework.cloud:spring-cloud-netflix-hystrix-dashboard.

Mavenorg.springframework.cloud:spring-cloud-netflix-hystrix-dashboardGHSA-gx3f-hq7p-8fxv

Upgrade to 2.2.10.RELEASE or later

Set the version to 2.2.10.RELEASE or later in your pom.xml or build.gradle.

The first fix for CVE-2021-22053. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 2.2.10.RELEASE2.2.10.RELEASE

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 2 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

1 link, grouped by NVD tag
↑ ↓ chooseEnter openEsc close