CVE-2021-31404
Timing side channel vulnerability in UIDL request handler in Vaadin 10, 11-14, and 15-18
Description
Non-constant-time comparison of CSRF tokens in UIDL request handler in com.vaadin:flow-server versions 1.0.0 through 1.0.13 (Vaadin 10.0.0 through 10.0.16), 1.1.0 prior to 2.0.0 (Vaadin 11 through 13), 2.0.0 through 2.4.6 (Vaadin 14.0.0 through 14.4.6), 3.0.0 prior to 5.0.0 (Vaadin 15 prior to 18), and 5.0.0 through 5.0.2 (Vaadin 18.0.0 through 18.0.5) allows attacker to guess a security token via timing attack.
- https://vaadin.com/security/cve-2021-31404
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.vaadin » flow-server | >= 1.0.0, < 1.0.14>= 1.1.0, < 2.4.7>= 3.0.0, < 5.0.3 | 1.0.14, 2.4.7, 5.0.3 |
Blast radius
25% of the dependent artifacts (53) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,339 |
| 2 hops | 2,360 |
| 3 hops | 760 |
| 4 hops | 300 |
| 5 hops | 53 |
Most used dependents
- com.vaadin » vaadin-core640 usages
- com.vaadin » vaadin-maven-plugin600 usages
- com.vaadin » vaadin378 usages
- com.vaadin » flow-html-components158 usages
- com.vaadin » flow-data126 usages
- com.vaadin » vaadin-spring-boot-starter107 usages
- com.vaadin » vaadin-spring93 usages
- com.vaadin » flow-component-demo-helpers67 usages
- com.vaadin » flow39 usages
- com.vaadin » flow-maven-plugin28 usages
- com.vaadin » flow-test-util28 usages
- com.vaadin » vaadin-radio-button-flow26 usages
- com.vaadin » vaadin-split-layout-flow24 usages
- com.vaadin » vaadin-confirm-dialog-flow20 usages
- com.vaadin » flow-lit-template19 usages
Computed from the dependency graph of build 20261129.2353 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2021-31404 | nvd.nist.gov |
| Web | vaadin/flow advisory GHSA-xwg3-qrcg-w9x6 | github.com |
| Web | vaadin/flow pull request #9875 | github.com |
| Web | security/cve-2021-31404 | vaadin.com |
