# CVE-2021-33605: Unauthorized property update in CheckboxGroup component in Vaadin 12-14 and 15-20

> Attackers can modify disabled checkbox values in Vaadin CheckboxGroup components, bypassing intended UI restrictions.

- **Severity:** Medium 4.3 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 25 Aug 2021
- **Updated:** 17 Sep 2024
- **Also known as:** GHSA-qcc4-3rxf-gf4m

## What is CVE-2021-33605?

CVE-2021-33605 is a medium-severity vulnerability in Vaadin, published on 25 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

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.

Weakness: CWE-754 (Improper Check for Unusual or Exceptional Conditions)

## Which versions are affected by CVE-2021-33605?

4 open source packages ship an affected version, including com.vaadin:vaadin-checkbox-flow. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `com.vaadin:vaadin-checkbox-flow` | Maven | From 12.0.0 | 14.6.8 |
| `com.vaadin:vaadin-checkbox-flow` | Maven | From 12.0.0 | 14.6.8 |
| `com.vaadin:vaadin-checkbox-flow` | Maven | From 15.0.0 | 20.0.6 |
| `com.vaadin:vaadin-checkbox-flow` | Maven | From 15.0.0 | 20.0.6 |

Products: Vaadin Vaadin-Checkbox-Flow.

## How do I fix CVE-2021-33605?

Upgrade com.vaadin:vaadin-checkbox-flow to a fixed version for your release line: 14.6.8 or 20.0.6.

## Is CVE-2021-33605 being exploited?

There is no known exploitation of CVE-2021-33605 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2021-33605 and fix it if it is affected.

What it is: CVE-2021-33605 is a medium-severity vulnerability in Vaadin, published on 25 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2021-33605 in the wild and no public exploit code.

Affected packages and fixed versions:
- com.vaadin:vaadin-checkbox-flow (Maven): affected from 12.0.0; fixed in 14.6.8
- com.vaadin:vaadin-checkbox-flow (Maven): affected from 12.0.0; fixed in 14.6.8
- com.vaadin:vaadin-checkbox-flow (Maven): affected from 15.0.0; fixed in 20.0.6
- com.vaadin:vaadin-checkbox-flow (Maven): affected from 15.0.0; fixed in 20.0.6

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2021-33605/ (Markdown: https://insights.sbomify.com/CVE-2021-33605/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2021-33605
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2021-33605
- OSV: https://osv.dev/vulnerability/CVE-2021-33605

---
From sbomify Insights: https://insights.sbomify.com/CVE-2021-33605/
Summaries are generated and may contain mistakes; the official description above is the record.
