Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.cloud/spring-cloud-netflix-hystrix-dashboard
  4. ›
  5. CVE-2021-22053

CVE-2021-22053: Improper Control of Generation of Code ('Code Injection')

November 23, 2021

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.

References

  • github.com/advisories/GHSA-gx3f-hq7p-8fxv
  • nvd.nist.gov/vuln/detail/CVE-2021-22053
  • tanzu.vmware.com/security/cve-2021-22053

Code Behaviors & Features

Detect and mitigate CVE-2021-22053 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.2.9.release

Fixed versions

  • 2.2.10.RELEASE

Solution

Upgrade to version 2.2.10.RELEASE or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

maven/org.springframework.cloud/spring-cloud-netflix-hystrix-dashboard/CVE-2021-22053.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:07 +0000.