Skip to content
Heist/ feed
Back to feed
Low

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-31403

Non-constant-time comparison of CSRF tokens in UIDL request handler in com.vaadin:vaadin-server versions 7.0.0 through 7.7.23 (Vaadin 7.0.0 through 7.7.23), and 8.0.0 through 8.12.2 (Vaadin 8.0.0 through 8.12.2) allows attacker to guess a security token via timing attack

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-31403
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:24 UTC · Revision 1

Source evidence

CVE-2021-31403

core-osv · Original source

Published 23 Apr 2021, 16:15 UTC

Non-constant-time comparison of CSRF tokens in UIDL request handler in com.vaadin:vaadin-server versions 7.0.0 through 7.7.23 (Vaadin 7.0.0 through 7.7.23), and 8.0.0 through 8.12.2 (Vaadin 8.0.0 through 8.12.2) allows attacker to guess a security token via timing attack

osv:CVE-2021-31403
Complete source record
{
  "id": "e4fc5151c32501c504987a4b29452aa37e20ab1261fc173d8c0f30c7786652bf",
  "url": "https://osv.dev/vulnerability/CVE-2021-31403",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-31403",
    "summary": "Non-constant-time comparison of CSRF tokens in UIDL request handler in com.vaadin:vaadin-server versions 7.0.0 through 7.7.23 (Vaadin 7.0.0 through 7.7.23), and 8.0.0 through 8.12.2 (Vaadin 8.0.0 through 8.12.2) allows attacker to guess a security token via timing attack",
    "evidence": "osv:CVE-2021-31403",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2021-31403",
      "aliases": [
        "CVE-2021-31403",
        "GHSA-75xc-qvxh-27f8"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/vaadin/framework",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b29ce01468ed115e942105986da362d665408033"
                },
                {
                  "fixed": "ebfc693f2d74965aebc6773ee696153441a822e5"
                },
                {
                  "introduced": "fb74e3d03793a7f9c433a7be583d55e3e2d1c35d"
                },
                {
                  "fixed": "d8ba0a4d10b7f7400b524252cd5925c58ce131a4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "fixed": "7.7.24"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0"
                      },
                      {
                        "fixed": "8.12.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31403.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-31403-3792665d",
                "digest": {
                  "length": 56,
                  "function_hash": "120348944873309959167790418804657867995"
                },
                "source": "https://github.com/vaadin/framework/commit/d8ba0a4d10b7f7400b524252cd5925c58ce131a4",
                "target": {
                  "file": "client/src/main/java/com/vaadin/client/event/PointerEventSupportImplIE10.java",
                  "function": "getNativeEventName"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-31403-89bf285d",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "11355839847430038605860934608170974081",
                    "93337319848138399291306679006129482278",
                    "210041750547152914784396289145157538072",
                    "239308953588520565464957408716344818786",
                    "130774423845043858384653373302219319406",
                    "71446160060510440618345532168139805607"
                  ]
                },
                "source": "https://github.com/vaadin/framework/commit/d8ba0a4d10b7f7400b524252cd5925c58ce131a4",
                "target": {
                  "file": "client/src/main/java/com/vaadin/client/event/PointerEventSupportImplIE10.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:21:12Z"
          }
        }
      ],
      "modified": "2026-10-24T14:21:12.662985051Z",
      "provider": "osv",
      "references": [
        "https://vaadin.com/security/cve-2021-31403",
        "https://github.com/vaadin/framework/pull/12188",
        "https://github.com/vaadin/framework/pull/12190"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "vaadin:vaadin",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0.0"
                  },
                  {
                    "fixed": "7.7.24"
                  },
                  {
                    "introduced": "7.0.0"
                  },
                  {
                    "fixed": "7.7.24"
                  },
                  {
                    "introduced": "8.0.0"
                  },
                  {
                    "fixed": "8.12.3"
                  },
                  {
                    "introduced": "8.0.0"
                  },
                  {
                    "fixed": "8.12.3"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-31403",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443577,
  "published_at": "2021-04-23T16:15:08.6+00:00"
}