GHSA-82mf-mmh7-hxp5: Vaadin bom Path Traversal Vulnerability
MODERATEGHSA-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
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).
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.
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-bom</artifactId>
<version>14.4.3</version>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-bom</artifactId>
<version>18.0.0</version>
</dependency>
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
GHSA-82mf-mmh7-hxp5 Affected Vaadin bom Versions
2 component(s)| 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?
Which Vaadin bom versions are affected?
What version fixes GHSA-82mf-mmh7-hxp5?
Is vaadin-bom affected?
What is the CVSS score of GHSA-82mf-mmh7-hxp5?
What CWE is associated with GHSA-82mf-mmh7-hxp5?
How can I check Maven dependencies for GHSA-82mf-mmh7-hxp5?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}