GHSA-j9wr-49vq-rm5g: Vaadin bom Remote Code Execution Vulnerability

HIGH
CVSS 8.6
CWE-402
Published
Advisory Summary

GHSA-j9wr-49vq-rm5g is a HIGH (CVSS 8.6) remote code execution vulnerability (CWE-402: Transmission of Private Resources into a New Sphere ('Resource Leak')) affecting Vaadin bom libraries in the Maven ecosystem. The issue involves server classes and resources exposure in osgi applications using vaadin 12-14 and 19. Remediation is available by upgrading affected packages to version 14.4.10, 19.0.1.

GHSA-j9wr-49vq-rm5g at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-j9wr-49vq-rm5g
Severity HIGH
CVSS v3.1 Base Score 8.6
CWE Classification CWE-402: Transmission of Private Resources into a New Sphere ('Resource Leak')
Affected Product Vaadin bom
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.6

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

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

How to Fix GHSA-j9wr-49vq-rm5g

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.10
<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-bom</artifactId>
    <version>14.4.10</version>
</dependency>
com.vaadin:vaadin-bom fixed: 19.0.1
<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-bom</artifactId>
    <version>19.0.1</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-j9wr-49vq-rm5g, 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.10), 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-402: Transmission of Private Resources into a New Sphere ('Resource Leak'), where the product makes resources available to untrusted parties when those resources are only intended to be accessed by the product. 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

Vulnerability in OSGi integration in `com.vaadin:flow-server` versions 1.2.0 through 2.4.7 (Vaadin 12.0.0 through 14.4.9), and 6.0.0 through 6.0.1 (Vaadin 19.0.0) allows attacker to access application classes and resources on the server via crafted HTTP request. - https://vaadin.com/security/cve-2021-31407

GHSA-j9wr-49vq-rm5g Affected Vaadin bom Versions

2 component(s)
Fixed Versions:
14.4.1019.0.1
Product / Package Ecosystem Affected Versions Fixed Version
com.vaadin:vaadin-bom
Maven
≥ 12.0.0
< 14.4.10
14.4.10
com.vaadin:vaadin-bom
Maven
≥ 19.0.0
< 19.0.1
All 1 versions
19.0.0
19.0.1

References

Frequently Asked Questions

What is GHSA-j9wr-49vq-rm5g?
GHSA-j9wr-49vq-rm5g is a security vulnerability in Vaadin bom involving Server classes and resources exposure in OSGi applications using Vaadin 12-14 and 19 under CWE-402: Transmission of Private Resources into a New Sphere ('Resource Leak').
Which Vaadin bom versions are affected?
Affected versions include releases prior to 14.4.10, 19.0.1 across affected packages: com.vaadin:vaadin-bom.
What version fixes GHSA-j9wr-49vq-rm5g?
Upgrading to 14.4.10, 19.0.1 (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.10, 19.0.1. Upgrade your dependency to 14.4.10, 19.0.1 or later.
What is the CVSS score of GHSA-j9wr-49vq-rm5g?
GHSA-j9wr-49vq-rm5g has a CVSS v3.1 base score of 8.6 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N.
What CWE is associated with GHSA-j9wr-49vq-rm5g?
GHSA-j9wr-49vq-rm5g is classified under CWE-402: Transmission of Private Resources into a New Sphere ('Resource Leak') (The product makes resources available to untrusted parties when those resources are only intended to be accessed by the product.).
How can I check Maven dependencies for GHSA-j9wr-49vq-rm5g?
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-j9wr-49vq-rm5g",
  "modified" : "2021-10-08T21:24:54Z",
  "published" : "2021-04-19T14:46:49Z",
  "aliases" : [ ],
  "summary" : "Server classes and resources exposure in OSGi applications using Vaadin 12-14 and 19",
  "details" : "Vulnerability in OSGi integration in `com.vaadin:flow-server` versions 1.2.0 through 2.4.7 (Vaadin 12.0.0 through 14.4.9), and 6.0.0 through 6.0.1 (Vaadin 19.0.0) allows attacker to access application classes and resources on the server via crafted HTTP request.\n\n- https://vaadin.com/security/cve-2021-31407",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.vaadin:vaadin-bom"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "12.0.0"
      }, {
        "fixed" : "14.4.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.vaadin:vaadin-bom"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "19.0.0"
      }, {
        "fixed" : "19.0.1"
      } ]
    } ],
    "versions" : [ "19.0.0" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/vaadin/platform/security/advisories/GHSA-j9wr-49vq-rm5g"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/vaadin/platform"
  }, {
    "type" : "WEB",
    "url" : "https://vaadin.com/security/cve-2021-31407"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-402" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-04-16T23:12:45Z",
    "nvd_published_at" : null
  }
}