CVE-2021-31406
Timing side channel vulnerability in endpoint request handler in Vaadin 15-19
Description
Non-constant-time comparison of CSRF tokens in endpoint request handler in com.vaadin:flow-server versions 3.0.0 through 5.0.3 (Vaadin 15.0.0 through 18.0.6), and com.vaadin:fusion-endpoint version 6.0.0 (Vaadin 19.0.0) allows attacker to guess a security token for Fusion endpoints via timing attack.
- https://vaadin.com/security/cve-2021-31406
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.vaadin » flow-server | >= 3.0.0, < 5.0.4>= 6.0.0, < 6.0.1 | 5.0.4, 6.0.1 |
Blast radius
3% of the dependent artifacts (3) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 399 |
| 2 hops | 1,031 |
| 3 hops | 187 |
| 4 hops | 22 |
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-confirm-dialog-flow20 usages
- com.vaadin » flow-osgi20 usages
- com.vaadin » flow-lit-template19 usages
- com.vaadin » vaadin-cdi10 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-31406 | nvd.nist.gov |
| Web | vaadin/flow advisory GHSA-p7jq-v8jp-j424 | github.com |
| Web | vaadin/flow pull request #10157 | github.com |
| Web | security/cve-2021-31406 | vaadin.com |
