MODERATE 4.0

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)

ArtifactAffected versionsFixed 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

1affected artifacts
184affected versions
207dependent artifacts (est.)
4,812dependent versions

25% of the dependent artifacts (53) still pull an affected version in their latest release.

DepthDependent versions
Direct
1,339
2 hops
2,360
3 hops
760
4 hops
300
5 hops
53

Most used dependents

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.