CVE-2021-33604:URL encoding error in Vaadin Flow server allows local JavaScript code execution via crafted URLs.

splash
Back

Description Preview

A vulnerability has been identified in Vaadin Flow server component that affects versions 2.0.0 through 2.6.1 (Vaadin 14.0.0 through 14.6.1) and 3.0.0 through 6.0.9 (Vaadin 15.0.0 through 19.0.8). The issue exists in the development mode handler where improper URL encoding allows a local user to execute arbitrary JavaScript code by opening a specially crafted URL in a browser. This vulnerability could potentially lead to client-side attacks when development mode is enabled.

Overview

The vulnerability (CVE-2021-33604) affects the development mode handler in the com.vaadin:flow-server component. When in development mode, the application fails to properly encode URLs, which can be exploited by a local user to inject and execute arbitrary JavaScript code. This vulnerability is particularly concerning in development environments where multiple developers may have access to the application. An attacker could craft a malicious URL that, when opened in a browser, executes JavaScript code in the context of the application, potentially leading to information disclosure or other client-side attacks.

Remediation

Users should upgrade to patched versions of Vaadin:

  • For Vaadin 14.x: Upgrade to version 14.6.2 or later
  • For Vaadin 15.x through 19.x: Upgrade to version 19.0.9 or later

If immediate upgrading is not possible, consider the following mitigation:

  • Disable development mode in production environments
  • Limit access to development instances to trusted users only
  • Be cautious when opening URLs from untrusted sources in development environments

References

  1. Official Vaadin security advisory: https://vaadin.com/security/cve-2021-33604
  2. Patch information: https://github.com/vaadin/flow/pull/11099
  3. Affected versions:
    • com.vaadin:flow-server versions 2.0.0 through 2.6.1 (Vaadin 14.0.0 through 14.6.1)
    • com.vaadin:flow-server versions 3.0.0 through 6.0.9 (Vaadin 15.0.0 through 19.0.8)

Industry ExposureMost to least
This section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.

  1. Accommodation & Food Services
    Accommodation & Food Services
  2. Administrative, Support, Waste Management & Remediation Services
    Administrative, Support, Waste Management & Remediation Services
  3. Agriculture, Forestry Fishing & Hunting
    Agriculture, Forestry Fishing & Hunting
  4. Arts, Entertainment & Recreation
    Arts, Entertainment & Recreation
  5. Construction
    Construction
  6. Educational Services
    Educational Services
  7. Finance and Insurance
    Finance and Insurance
  8. Health Care & Social Assistance
    Health Care & Social Assistance
  9. Information
    Information
  10. Management of Companies & Enterprises
    Management of Companies & Enterprises
  11. Manufacturing
    Manufacturing
  12. Mining
    Mining
  13. Other Services (except Public Administration)
    Other Services (except Public Administration)
  14. Professional, Scientific, & Technical Services
    Professional, Scientific, & Technical Services
  15. Public Administration
    Public Administration
  16. Real Estate Rental & Leasing
    Real Estate Rental & Leasing
  17. Retail Trade
    Retail Trade
  18. Transportation & Warehousing
    Transportation & Warehousing
  19. Utilities
    Utilities
  20. Wholesale Trade
    Wholesale Trade

Focus on What Matters

  1. See Everything.
  2. Identify True Risk.
  3. Proactively Mitigate Threats.

Let's talk!

background
Armis Vulnerability Intelligence Database