Vulnerability Details : CVE-2021-31404
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 prior to 14), 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.
Vulnerability category: Cross-site request forgery (CSRF)
Products affected by CVE-2021-31404
- cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*
- cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*
- cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*
- cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*
- cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*
- cpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:*
- cpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:*
- cpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:*
- cpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:*
- cpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-31404
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 10 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-31404
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
1.9
|
LOW | AV:L/AC:M/Au:N/C:P/I:N/A:N |
3.4
|
2.9
|
NIST | |
2.5
|
LOW | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
1.0
|
1.4
|
NIST | |
4.0
|
MEDIUM | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
1.4
|
2.5
|
Vaadin Ltd. |
CWE ids for CVE-2021-31404
-
The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor, which exposes security-relevant information about the state of the product, such as whether a particular operation was successful or not.Assigned by: nvd@nist.gov (Primary)
-
Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.Assigned by: security@vaadin.com (Secondary)
References for CVE-2021-31404
-
https://github.com/vaadin/flow/pull/9875
Use time-constant comparison for CSRF tokens by Legioth · Pull Request #9875 · vaadin/flow · GitHubPatch;Third Party Advisory
-
https://vaadin.com/security/cve-2021-31404
CVE-2021-31404: Timing side channel vulnerability in UIDL request handler in Vaadin 10, 11-14, and 15-18Vendor Advisory
Jump to