GSD-2021-31406
Vulnerability from gsd - Updated: 2023-12-13 01:23Details
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.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2021-31406",
"description": "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.",
"id": "GSD-2021-31406"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2021-31406"
],
"details": "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.",
"id": "GSD-2021-31406",
"modified": "2023-12-13T01:23:12.935851Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"AKA": "",
"ASSIGNER": "security@vaadin.com",
"DATE_PUBLIC": "2021-03-19T09:17:00.000Z",
"ID": "CVE-2021-31406",
"STATE": "PUBLIC",
"TITLE": "Timing side channel vulnerability in endpoint request handler in Vaadin 15-19"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "Vaadin",
"version": {
"version_data": [
{
"platform": "",
"version_affected": "\u003e=",
"version_name": "",
"version_value": "15.0.0"
},
{
"platform": "",
"version_affected": "\u003c=",
"version_name": "",
"version_value": "18.0.6"
},
{
"platform": "",
"version_affected": "=",
"version_name": "",
"version_value": "19.0.0"
}
]
}
},
{
"product_name": "flow-server",
"version": {
"version_data": [
{
"platform": "",
"version_affected": "\u003e=",
"version_name": "",
"version_value": "3.0.0"
},
{
"platform": "",
"version_affected": "\u003c=",
"version_name": "",
"version_value": "5.0.3"
},
{
"platform": "",
"version_affected": "=",
"version_name": "",
"version_value": "6.0.0"
}
]
}
}
]
},
"vendor_name": "Vaadin"
}
]
}
},
"configuration": [],
"credit": [
{
"lang": "eng",
"value": "This issue was discovered and responsibly reported by Xhelal Likaj."
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "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."
}
]
},
"exploit": [],
"generator": {
"engine": "Vulnogram 0.0.9"
},
"impact": {
"cvss": {
"attackComplexity": "HIGH",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 4,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-208 Information Exposure Through Timing Discrepancy"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://vaadin.com/security/cve-2021-31406",
"refsource": "MISC",
"url": "https://vaadin.com/security/cve-2021-31406"
},
{
"name": "https://github.com/vaadin/flow/pull/10157",
"refsource": "MISC",
"url": "https://github.com/vaadin/flow/pull/10157"
}
]
},
"solution": [],
"source": {
"advisory": "",
"defect": [],
"discovery": "EXTERNAL"
},
"work_around": []
},
"gitlab.com": {
"advisories": [
{
"affected_range": "[15.0.0,18.0.7),[19.0.0,19.0.1)",
"affected_versions": "All versions starting from 15.0.0 before 18.0.7, versions starting 19.0.0 before 19.0.1",
"cvss_v2": "AV:L/AC:M/Au:N/C:P/I:N/A:N",
"cvss_v3": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-203",
"CWE-937"
],
"date": "2021-04-30",
"description": "A non-constant-time comparison of CSRF tokens in endpoint request handler in `com.vaadin:flow-server`, and `com.vaadin:fusion-endpoint` allows an attacker to guess a security token for Fusion endpoints via timing attack.",
"fixed_versions": [
"18.0.7",
"19.0.1"
],
"identifier": "CVE-2021-31406",
"identifiers": [
"CVE-2021-31406"
],
"not_impacted": "All versions starting from 18.0.7 before 19.0.0, all versions starting from 19.0.1",
"package_slug": "maven/com.vaadin/flow-client",
"pubdate": "2021-04-23",
"solution": "Upgrade to version 18.0.7 or 19.0.1 or above.",
"title": "Information Exposure Through Discrepancy",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-31406",
"https://vaadin.com/security/cve-2021-31406"
],
"uuid": "afc5b75b-a774-4471-a701-fb1bfc56a1d0"
},
{
"affected_range": "[3.0.0,5.0.3]",
"affected_versions": "All versions starting from 3.0.0 through 5.0.3",
"cvss_v2": "AV:L/AC:M/Au:N/C:P/I:N/A:N",
"cvss_v3": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-203",
"CWE-937"
],
"date": "2021-04-30",
"description": "Non-constant-time comparison of CSRF tokens in endpoint request handler in `com.vaadin:flow-server` allows attacker to guess a security token for Fusion endpoints via timing attack.",
"fixed_versions": [
"5.0.4"
],
"identifier": "CVE-2021-31406",
"identifiers": [
"CVE-2021-31406"
],
"not_impacted": "All versions starting from 5.0.4",
"package_slug": "maven/com.vaadin/flow-server",
"pubdate": "2021-04-23",
"solution": "Upgrade to version 5.0.4 or above.",
"title": "Information Exposure Through Discrepancy",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-31406",
"https://vaadin.com/security/cve-2021-31406"
],
"uuid": "a77b015e-1c63-4bdc-bfc0-5fc1a55e7271"
},
{
"affected_range": "[3.0.0,5.0.4),[6.0.0]",
"affected_versions": "All versions starting from 3.0.0 before 5.0.4, version 6.0.0",
"cvss_v2": "AV:L/AC:M/Au:N/C:P/I:N/A:N",
"cvss_v3": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-203",
"CWE-937"
],
"date": "2021-04-30",
"description": "Non-constant-time comparison of CSRF tokens in endpoint request handler allows attacker to guess a security token for Fusion endpoints via timing attack.",
"fixed_versions": [
"5.0.4",
"6.0.1"
],
"identifier": "CVE-2021-31406",
"identifiers": [
"CVE-2021-31406"
],
"not_impacted": "All versions before 3.0.0, all versions starting from 5.0.4 before 6.0.0, all versions after 6.0.0",
"package_slug": "maven/com.vaadin/flow",
"pubdate": "2021-04-23",
"solution": "Upgrade to versions 5.0.4, 6.0.1 or above.",
"title": "Information Exposure Through Discrepancy",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-31406",
"https://vaadin.com/security/cve-2021-31406"
],
"uuid": "79b52805-a3ff-4fec-9695-cb5bb2411e51"
},
{
"affected_range": "[15.0.0,18.0.7),[19.0.0]",
"affected_versions": "All versions starting from 15.0.0 before 18.0.7, version 19.0.0",
"cvss_v2": "AV:L/AC:M/Au:N/C:P/I:N/A:N",
"cvss_v3": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-203",
"CWE-937"
],
"date": "2021-04-30",
"description": "Non-constant-time comparison of CSRF tokens in endpoint request handler in com.vaadin:fusion-endpoint allows attacker to guess a security token for Fusion endpoints via timing attack.",
"fixed_versions": [],
"identifier": "CVE-2021-31406",
"identifiers": [
"CVE-2021-31406"
],
"not_impacted": "",
"package_slug": "maven/com.vaadin/fusion-endpoint",
"pubdate": "2021-04-23",
"solution": "Unfortunately, there is no solution available yet.",
"title": "Information Exposure Through Discrepancy",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-31406",
"https://vaadin.com/security/cve-2021-31406"
],
"uuid": "6ea55cd3-afcb-4c72-a2bb-568053cca402"
},
{
"affected_range": "[15.0.0,18.0.7),[19.0.0,19.0.1)",
"affected_versions": "All versions starting from 15.0.0 before 18.0.7, all versions starting from 19.0.0 before 19.0.1",
"cvss_v2": "AV:L/AC:M/Au:N/C:P/I:N/A:N",
"cvss_v3": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-203",
"CWE-937"
],
"date": "2021-04-30",
"description": "A non-constant-time comparison of CSRF tokens in endpoint request handler in `com.vaadin:flow-server`, and `com.vaadin:fusion-endpoint` allows attacker to guess a security token for Fusion endpoints via timing attack.",
"fixed_versions": [
"18.0.7",
"19.0.1"
],
"identifier": "CVE-2021-31406",
"identifiers": [
"CVE-2021-31406"
],
"not_impacted": "All versions starting from 18.0.7 before 19.0.0, all versions starting from 19.0.1",
"package_slug": "maven/com.vaadin/vaadin-server",
"pubdate": "2021-04-23",
"solution": "Upgrade to version 18.0.7 or 19.0.1 or above.",
"title": "Information Exposure Through Discrepancy",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-31406",
"https://vaadin.com/security/cve-2021-31406"
],
"uuid": "1900137a-a626-4a74-a284-b81c5590846b"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "5.0.4",
"versionStartIncluding": "3.0.0",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:vaadin:flow:6.0.0:-:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "18.0.7",
"versionStartIncluding": "15.0.0",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:vaadin:vaadin:19.0.0:-:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "security@vaadin.com",
"ID": "CVE-2021-31406"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-203"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "N/A",
"refsource": "CONFIRM",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/vaadin/flow/pull/10157"
},
{
"name": "N/A",
"refsource": "CONFIRM",
"tags": [
"Vendor Advisory"
],
"url": "https://vaadin.com/security/cve-2021-31406"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "MEDIUM",
"accessVector": "LOCAL",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 1.9,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "NONE",
"vectorString": "AV:L/AC:M/Au:N/C:P/I:N/A:N",
"version": "2.0"
},
"exploitabilityScore": 3.4,
"impactScore": 2.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "LOW",
"userInteractionRequired": false
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "HIGH",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 2.5,
"baseSeverity": "LOW",
"confidentialityImpact": "LOW",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N",
"version": "3.1"
},
"exploitabilityScore": 1.0,
"impactScore": 1.4
}
},
"lastModifiedDate": "2021-04-30T19:01Z",
"publishedDate": "2021-04-23T16:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…