GHSA-82mf-mmh7-hxp5 Directory traversal in development mode handler in Vaadin 14 and 15-17
Attackers can read arbitrary files outside the intended folder via path traversal in Vaadin's development mode handler.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-82mf-mmh7-hxp5?
GHSA-82mf-mmh7-hxp5 is a path traversal vulnerability in com.vaadin:vaadin-bom, published on 19 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by GHSA-82mf-mmh7-hxp5?
4 open source packages ship an affected version, including com.vaadin:vaadin-bom.
| Package | Affected | Fixed in |
|---|---|---|
com.vaadin:vaadin-bom Maven | From 14.0.0 | 14.4.3 |
com.vaadin:vaadin-bom Maven | From 14.0.0 | 14.4.3 |
com.vaadin:vaadin-bom Maven | From 15.0.0 | 18.0.0 |
com.vaadin:vaadin-bom Maven | From 15.0.0 | 18.0.0 |
How do I fix GHSA-82mf-mmh7-hxp5?
Upgrade com.vaadin:vaadin-bom to a fixed version for your release line: 14.4.3 or 18.0.0.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is GHSA-82mf-mmh7-hxp5 being exploited?
There is no known exploitation of GHSA-82mf-mmh7-hxp5 in the wild and no public exploit code.