Vulnerability Details : CVE-2021-31406
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.
Vulnerability category: Cross-site request forgery (CSRF)
Products affected by CVE-2021-31406
- cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*
- cpe:2.3:a:vaadin:vaadin:19.0.0:-:*:*:*:*:*:*
- cpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:*
- cpe:2.3:a:vaadin:flow:6.0.0:-:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-31406
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-31406
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-31406
-
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-31406
-
https://vaadin.com/security/cve-2021-31406
CVE-2021-31406: Timing side channel vulnerability in endpoint request handler in Vaadin 15-19Vendor Advisory
-
https://github.com/vaadin/flow/pull/10157
Use time-constant comparison for CSRF tokens in endpoint by haijian-vaadin · Pull Request #10157 · vaadin/flow · GitHubPatch;Third Party Advisory
Jump to