CVE-2021-33605: Vaadin checkbox flow Unauthorized Property Update Vulnerability

MODERATE
Advisory Identifier: GHSA-qcc4-3rxf-gf4m
CVSS 4.3
CWE-754
Published
Advisory Summary

CVE-2021-33605 is a MODERATE (CVSS 4.3) unauthorized property update vulnerability (CWE-754: Improper Check for Unusual or Exceptional Conditions) affecting Vaadin checkbox flow libraries in the Maven ecosystem. The issue involves unauthorized property update in checkboxgroup component in vaadin 12-14 and 15-20. Remediation is available by upgrading affected packages to version 14.6.8, 20.0.6.

CVE-2021-33605 at a Glance

CVE Identifier CVE-2021-33605
GHSA Identifier GHSA-qcc4-3rxf-gf4m
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-754: Improper Check for Unusual or Exceptional Conditions
Affected Product Vaadin checkbox flow
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 4.3

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:N/S:U/C:N/I:L/A:N).

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

How to Fix CVE-2021-33605

To remediate this vulnerability, upgrade all affected Vaadin checkbox flow 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-checkbox-flow fixed: 14.6.8
<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-checkbox-flow</artifactId>
    <version>14.6.8</version>
</dependency>
com.vaadin:vaadin-checkbox-flow fixed: 20.0.6
<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-checkbox-flow</artifactId>
    <version>20.0.6</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-2021-33605, 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 checkbox flow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 14.6.8), 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-754: Improper Check for Unusual or Exceptional Conditions, where the product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product. In Vaadin checkbox flow, 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 check in `CheckboxGroup` in `com.vaadin:vaadin-checkbox-flow` versions 1.2.0 prior to 2.0.0 (Vaadin 12.0.0 prior to 14.0.0), 2.0.0 prior to 3.0.0 (Vaadin 14.0.0 prior to 14.5.0), 3.0.0 through 4.0.1 (Vaadin 15.0.0 through 17.0.11), 14.5.0 through 14.6.7 (Vaadin 14.5.0 through 14.6.7), and 18.0.0 through 20.0.5 (Vaadin 18.0.0 through 20.0.5) allows attackers to modify the value of a disabled `Checkbox` inside enabled `CheckboxGroup` component via unspecified vectors. - https://vaadin.com/security/cve-2021-33605

CVE-2021-33605 Affected Vaadin checkbox flow Versions

2 component(s)
Fixed Versions:
14.6.820.0.6
Product / Package Ecosystem Affected Versions Fixed Version
com.vaadin:vaadin-checkbox-flow
Maven
≥ 12.0.0
< 14.6.8
14.6.8
com.vaadin:vaadin-checkbox-flow
Maven
≥ 15.0.0
< 20.0.6
20.0.6

References

Frequently Asked Questions

What is CVE-2021-33605?
CVE-2021-33605 is a security vulnerability in Vaadin checkbox flow involving Unauthorized property update in CheckboxGroup component in Vaadin 12-14 and 15-20 under CWE-754: Improper Check for Unusual or Exceptional Conditions.
Which Vaadin checkbox flow versions are affected?
Affected versions include releases prior to 14.6.8, 20.0.6 across affected packages: com.vaadin:vaadin-checkbox-flow.
What version fixes CVE-2021-33605?
Upgrading to 14.6.8, 20.0.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is vaadin-checkbox-flow affected?
Yes, com.vaadin:vaadin-checkbox-flow is affected in releases prior to 14.6.8, 20.0.6. Upgrade your dependency to 14.6.8, 20.0.6 or later.
What is the CVSS score of CVE-2021-33605?
CVE-2021-33605 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2021-33605?
CVE-2021-33605 is classified under CWE-754: Improper Check for Unusual or Exceptional Conditions (The product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product.).
How can I check Maven dependencies for CVE-2021-33605?
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-qcc4-3rxf-gf4m",
  "modified" : "2021-09-03T20:35:31Z",
  "published" : "2021-08-30T16:16:38Z",
  "aliases" : [ "CVE-2021-33605" ],
  "summary" : "Unauthorized property update in CheckboxGroup component in Vaadin 12-14 and 15-20",
  "details" : "Improper check in `CheckboxGroup` in `com.vaadin:vaadin-checkbox-flow` versions 1.2.0 prior to 2.0.0 (Vaadin 12.0.0 prior to 14.0.0), 2.0.0 prior to 3.0.0 (Vaadin 14.0.0 prior to 14.5.0), 3.0.0 through 4.0.1 (Vaadin 15.0.0 through 17.0.11), 14.5.0 through 14.6.7 (Vaadin 14.5.0 through 14.6.7), and 18.0.0 through 20.0.5 (Vaadin 18.0.0 through 20.0.5) allows attackers to modify the value of a disabled `Checkbox` inside enabled `CheckboxGroup` component via unspecified vectors.\n\n- https://vaadin.com/security/cve-2021-33605",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.vaadin:vaadin-checkbox-flow"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "12.0.0"
      }, {
        "fixed" : "14.6.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.vaadin:vaadin-checkbox-flow"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.0.0"
      }, {
        "fixed" : "20.0.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/vaadin/flow-components/security/advisories/GHSA-qcc4-3rxf-gf4m"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-33605"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/vaadin/flow-components/pull/1903"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/vaadin/flow-components/commit/1aa6bc94c763023bc3fc5849c2a1e8cab3bf6766"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/vaadin/flow-components/commit/f136532a735f703f1144f19fee48c9009c659f03"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/vaadin/flow-components"
  }, {
    "type" : "WEB",
    "url" : "https://vaadin.com/security/cve-2021-33605"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-754" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-08-25T16:15:42Z",
    "nvd_published_at" : "2021-08-25T13:15:00Z"
  }
}