GHSA-82mf-mmh7-hxp5: Vaadin bom Path Traversal Vulnerability

MODERATE
CVSS 5.9
CWE-20
Published
Advisory Summary

GHSA-82mf-mmh7-hxp5 is a MODERATE (CVSS 5.9) path traversal vulnerability (CWE-20: Improper Input Validation) affecting Vaadin bom libraries in the Maven ecosystem. The issue involves directory traversal in development mode handler in vaadin 14 and 15-17. Remediation is available by upgrading affected packages to version 14.4.3, 18.0.0.

GHSA-82mf-mmh7-hxp5 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-82mf-mmh7-hxp5
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-20: Improper Input Validation
Affected Product Vaadin bom
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix GHSA-82mf-mmh7-hxp5

To remediate this vulnerability, upgrade all affected Vaadin bom dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

com.vaadin:vaadin-bom fixed: 14.4.3
<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-bom</artifactId>
    <version>14.4.3</version>
</dependency>
com.vaadin:vaadin-bom fixed: 18.0.0
<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-bom</artifactId>
    <version>18.0.0</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=com.vaadin

How to Check if You Are Affected

To determine whether your Java application is affected by GHSA-82mf-mmh7-hxp5, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=com.vaadin

Analyze the terminal output to locate any version of Vaadin bom in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 14.4.3), your application is affected.

Note: The mvn dependency:tree -Dincludes=com.vaadin command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Vaadin bom, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Improper URL validation in development mode handler in `com.vaadin:flow-server` versions 2.0.0 through 2.4.1 (Vaadin 14.0.0 through 14.4.2), and 3.0 prior to 5.0 (Vaadin 15 prior to 18) allows attacker to request arbitrary files stored outside of intended frontend resources folder. - https://vaadin.com/security/cve-2020-36321

GHSA-82mf-mmh7-hxp5 Affected Vaadin bom Versions

2 component(s)
Fixed Versions:
14.4.318.0.0
Product / Package Ecosystem Affected Versions Fixed Version
com.vaadin:vaadin-bom
Maven
≥ 14.0.0
< 14.4.3
14.4.3
com.vaadin:vaadin-bom
Maven
≥ 15.0.0
< 18.0.0
18.0.0

References

Frequently Asked Questions

What is GHSA-82mf-mmh7-hxp5?
GHSA-82mf-mmh7-hxp5 is a security vulnerability in Vaadin bom involving Directory traversal in development mode handler in Vaadin 14 and 15-17 under CWE-20: Improper Input Validation.
Which Vaadin bom versions are affected?
Affected versions include releases prior to 14.4.3, 18.0.0 across affected packages: com.vaadin:vaadin-bom.
What version fixes GHSA-82mf-mmh7-hxp5?
Upgrading to 14.4.3, 18.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is vaadin-bom affected?
Yes, com.vaadin:vaadin-bom is affected in releases prior to 14.4.3, 18.0.0. Upgrade your dependency to 14.4.3, 18.0.0 or later.
What is the CVSS score of GHSA-82mf-mmh7-hxp5?
GHSA-82mf-mmh7-hxp5 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with GHSA-82mf-mmh7-hxp5?
GHSA-82mf-mmh7-hxp5 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Maven dependencies for GHSA-82mf-mmh7-hxp5?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.vaadin'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-82mf-mmh7-hxp5",
  "modified" : "2021-10-08T21:23:58Z",
  "published" : "2021-04-19T14:48:15Z",
  "aliases" : [ ],
  "summary" : "Directory traversal in development mode handler in Vaadin 14 and 15-17",
  "details" : "Improper URL validation in development mode handler in `com.vaadin:flow-server` versions 2.0.0 through 2.4.1 (Vaadin 14.0.0 through 14.4.2), and 3.0 prior to 5.0 (Vaadin 15 prior to 18) allows attacker to request arbitrary files stored outside of intended frontend resources folder.\n\n- https://vaadin.com/security/cve-2020-36321",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.vaadin:vaadin-bom"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "14.0.0"
      }, {
        "fixed" : "14.4.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.vaadin:vaadin-bom"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.0.0"
      }, {
        "fixed" : "18.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/vaadin/platform/security/advisories/GHSA-82mf-mmh7-hxp5"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/vaadin/platform"
  }, {
    "type" : "WEB",
    "url" : "https://vaadin.com/security/cve-2020-36321"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-04-16T23:13:32Z",
    "nvd_published_at" : null
  }
}