Vulnerabilities in pkg:maven/com.vaadin/vaadin-grid-flow

PACKAGE
Advisory Identifier: GHSA-qfr3-323w-qv27
Advisory Summary

CVE-2022-29567 is a MODERATE (CVSS 5.7) possible information disclosure inside treegrid vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Vaadin libraries in the Maven ecosystem. The issue involves possible information disclosure inside treegrid component with default data provider. Remediation is available by upgrading affected packages to version 14.8.10, 22.0.15, 23.0.9.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/com.vaadin/vaadin-grid-flow

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/com.vaadin/vaadin-grid-flow. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-qfr3-323w-qv27 CVE-2022-29567 MODERATE Possible information disclosure inside TreeGrid component with default data provider

CVE-2022-29567 at a Glance

CVE Identifier CVE-2022-29567
GHSA Identifier GHSA-qfr3-323w-qv27
Severity MODERATE
CVSS v3.1 Base Score 5.7
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Vaadin
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.7

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

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

How to Fix CVE-2022-29567

To remediate this vulnerability, upgrade all affected Vaadin 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 fixed: 14.8.10
<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin</artifactId>
    <version>14.8.10</version>
</dependency>
com.vaadin:vaadin fixed: 22.0.15
<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin</artifactId>
    <version>22.0.15</version>
</dependency>
com.vaadin:vaadin fixed: 23.0.9
<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin</artifactId>
    <version>23.0.9</version>
</dependency>
com.vaadin:vaadin-grid-flow fixed: 14.8.10
<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-grid-flow</artifactId>
    <version>14.8.10</version>
</dependency>
com.vaadin:vaadin-grid-flow fixed: 22.0.15
<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-grid-flow</artifactId>
    <version>22.0.15</version>
</dependency>
com.vaadin:vaadin-grid-flow fixed: 23.0.9
<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-grid-flow</artifactId>
    <version>23.0.9</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 CVE-2022-29567, 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 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 14.8.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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Vaadin, 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

### Description The default configuration of a TreeGrid component uses Object::toString as a key on the client-side and server communication in Vaadin 14.8.5 through 14.8.9, 22.0.6 through 22.0.14, 23.0.0.beta2 through 23.0.8 and 23.1.0.alpha1 through 23.1.0.alpha4, resulting in potential information disclosure of values that should not be available on the client-side.

CVE-2022-29567 Affected Vaadin Versions

6 component(s)
Fixed Versions:
14.8.1022.0.1523.0.9
Product / Package Ecosystem Affected Versions Fixed Version
com.vaadin:vaadin
Maven
≥ 14.8.5
< 14.8.10
14.8.10
com.vaadin:vaadin
Maven
≥ 22.0.6
< 22.0.15
22.0.15
com.vaadin:vaadin
Maven
≥ 23.0.0
< 23.0.9
23.0.9
com.vaadin:vaadin-grid-flow
Maven
≥ 14.8.5
< 14.8.10
14.8.10
com.vaadin:vaadin-grid-flow
Maven
≥ 22.0.6
< 22.0.15
22.0.15
com.vaadin:vaadin-grid-flow
Maven
≥ 23.0.0.beta2
< 23.0.9
23.0.9

References

Frequently Asked Questions

What is CVE-2022-29567?
CVE-2022-29567 is a security vulnerability in Vaadin involving Possible information disclosure inside TreeGrid component with default data provider under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Vaadin versions are affected?
Affected versions include releases prior to 14.8.10, 22.0.15, 23.0.9 across affected packages: com.vaadin:vaadin, com.vaadin:vaadin-grid-flow.
What version fixes CVE-2022-29567?
Upgrading to 14.8.10, 22.0.15, 23.0.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is vaadin affected?
Yes, com.vaadin:vaadin is affected in releases prior to 14.8.10, 22.0.15, 23.0.9. Upgrade your dependency to 14.8.10, 22.0.15, 23.0.9 or later.
Is vaadin-grid-flow affected?
Yes, com.vaadin:vaadin-grid-flow is affected in releases prior to 14.8.10, 22.0.15, 23.0.9. Upgrade your dependency to 14.8.10, 22.0.15, 23.0.9 or later.
What is the CVSS score of CVE-2022-29567?
CVE-2022-29567 has a CVSS v3.1 base score of 5.7 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2022-29567?
CVE-2022-29567 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Maven dependencies for CVE-2022-29567?
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-qfr3-323w-qv27",
  "modified" : "2024-05-15T06:22:38Z",
  "published" : "2022-05-25T22:40:03Z",
  "aliases" : [ "CVE-2022-29567" ],
  "summary" : "Possible information disclosure inside TreeGrid component with default data provider",
  "details" : "### Description\n\nThe default configuration of a TreeGrid component uses Object::toString as a key on the client-side and server communication in Vaadin 14.8.5 through 14.8.9, 22.0.6 through 22.0.14, 23.0.0.beta2 through 23.0.8 and 23.1.0.alpha1 through 23.1.0.alpha4, resulting in potential information disclosure of values that should not be available on the client-side.\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.vaadin:vaadin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "14.8.5"
      }, {
        "fixed" : "14.8.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.vaadin:vaadin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "22.0.6"
      }, {
        "fixed" : "22.0.15"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.vaadin:vaadin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "23.0.0"
      }, {
        "fixed" : "23.0.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.vaadin:vaadin-grid-flow"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "14.8.5"
      }, {
        "fixed" : "14.8.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.vaadin:vaadin-grid-flow"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "22.0.6"
      }, {
        "fixed" : "22.0.15"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.vaadin:vaadin-grid-flow"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "23.0.0.beta2"
      }, {
        "fixed" : "23.0.9"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/vaadin/platform/security/advisories/GHSA-qfr3-323w-qv27"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-29567"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/vaadin/flow-components/pull/3046"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/vaadin/platform"
  }, {
    "type" : "WEB",
    "url" : "https://vaadin.com/security/cve-2022-29567"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-05-25T22:40:03Z",
    "nvd_published_at" : "2022-05-24T15:15:00Z"
  }
}