CVE-2021-31404
Last modified
CVE-2021-31404 is a low-severity vulnerability rated 2.5/10 on the CVSS scale. 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.. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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 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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vaadin | Flow | >= 1.0.0, < 1.0.14 |
| Vaadin | Flow | >= 1.1.0, < 2.0.0 |
| Vaadin | Flow | >= 2.0.0, < 2.4.7 |
| Vaadin | Flow | >= 3.0.0, < 5.0.0 |
| Vaadin | Flow | >= 5.0.0, < 5.0.3 |
| Vaadin | Vaadin | >= 10.0.0, < 10.0.17 |
| Vaadin | Vaadin | >= 11.0.0, < 14.0.0 |
| Vaadin | Vaadin | >= 14.0.0, < 14.4.7 |
| Vaadin | Vaadin | >= 15.0.0, < 17.0.0 |
| Vaadin | Vaadin | >= 18.0.0, < 18.0.6 |
References
- https://github.com/vaadin/flow/pull/9875Patch, Third Party Advisory
- https://vaadin.com/security/cve-2021-31404Vendor Advisory
- https://github.com/vaadin/flow/pull/9875Patch, Third Party Advisory
- https://vaadin.com/security/cve-2021-31404Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-31404?
How severe is CVE-2021-31404?
How do I fix CVE-2021-31404?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-3139In Open-iSCSI tcmu-runner 1.3.x, 1.4.x, and 1.5.x through 1.…8.1
- CVE-2021-31399On 2N Access Unit 2.0 2.31.0.40.5 devices, an attacker can p…5.9
- CVE-2021-31400An issue was discovered in tcp_pulloutofband() in tcp_in.c i…7.5
- CVE-2021-31401An issue was discovered in tcp_rcv() in nptcp.c in HCC embed…7.5
- CVE-2021-31402The dio package 4.0.0 for Dart allows CRLF injection if the …7.5
- CVE-2021-31403Non-constant-time comparison of CSRF tokens in UIDL request …2.5
- CVE-2021-31405Unsafe validation RegEx in EmailField component in com.vaadi…7.5
- CVE-2021-31406Non-constant-time comparison of CSRF tokens in endpoint requ…2.5
- CVE-2021-31407Vulnerability in OSGi integration in com.vaadin:flow-server …7.5
- CVE-2021-31408Authentication.logout() helper in com.vaadin:flow-client ver…7.1
- CVE-2021-31409Unsafe validation RegEx in EmailValidator component in com.v…7.5
- CVE-2021-3141In Unisys Stealth (core) before 6.0.025.0, the Keycloak pass…7.8
Are you affected by CVE-2021-31404?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
