GSD-2022-39386
Vulnerability from gsd - Updated: 2023-12-13 01:19Details
@fastify/websocket provides WebSocket support for Fastify. Any application using @fastify/websocket could crash if a specific, malformed packet is sent. All versions of fastify-websocket are also impacted. That module is deprecated, so it will not be patched. This has been patched in version 7.1.1 (fastify v4) and version 5.0.1 (fastify v3). There are currently no known workarounds. However, it should be possible to attach the error handler manually. The recommended path is upgrading to the patched versions.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2022-39386",
"description": "@fastify/websocket provides WebSocket support for Fastify. Any application using @fastify/websocket could crash if a specific, malformed packet is sent. All versions of fastify-websocket are also impacted. That module is deprecated, so it will not be patched. This has been patched in version 7.1.1 (fastify v4) and version 5.0.1 (fastify v3). There are currently no known workarounds. However, it should be possible to attach the error handler manually. The recommended path is upgrading to the patched versions.",
"id": "GSD-2022-39386"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2022-39386"
],
"details": "@fastify/websocket provides WebSocket support for Fastify. Any application using @fastify/websocket could crash if a specific, malformed packet is sent. All versions of fastify-websocket are also impacted. That module is deprecated, so it will not be patched. This has been patched in version 7.1.1 (fastify v4) and version 5.0.1 (fastify v3). There are currently no known workarounds. However, it should be possible to attach the error handler manually. The recommended path is upgrading to the patched versions.",
"id": "GSD-2022-39386",
"modified": "2023-12-13T01:19:20.833739Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2022-39386",
"STATE": "PUBLIC",
"TITLE": "fastify-websocket vulnerable to uncaught exception via crash on malformed packet"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "fastify-websocket",
"version": {
"version_data": [
{
"version_value": "\u003e= 5.0.0, \u003c 5.0.1"
},
{
"version_value": "\u003e= 6.0.0, \u003c 7.1.1"
},
{
"version_value": "\u003c= 4.3.0"
}
]
}
}
]
},
"vendor_name": "fastify"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "@fastify/websocket provides WebSocket support for Fastify. Any application using @fastify/websocket could crash if a specific, malformed packet is sent. All versions of fastify-websocket are also impacted. That module is deprecated, so it will not be patched. This has been patched in version 7.1.1 (fastify v4) and version 5.0.1 (fastify v3). There are currently no known workarounds. However, it should be possible to attach the error handler manually. The recommended path is upgrading to the patched versions."
}
]
},
"impact": {
"cvss": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-248: Uncaught Exception"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/fastify/fastify-websocket/security/advisories/GHSA-4pcg-wr6c-h9cq",
"refsource": "CONFIRM",
"url": "https://github.com/fastify/fastify-websocket/security/advisories/GHSA-4pcg-wr6c-h9cq"
}
]
},
"source": {
"advisory": "GHSA-4pcg-wr6c-h9cq",
"discovery": "UNKNOWN"
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c=5.0.0||\u003e=6.0.0 \u003c7.1.1",
"affected_versions": "All versions starting from 5.0.0 before 5.0.1, all versions starting from 6.0.0 up to 7.1.1",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2022-11-09",
"description": "@fastify/websocket provides WebSocket support for Fastify. Any application using @fastify/websocket could crash if a specific, malformed packet is sent. All versions of fastify-websocket are also impacted. That module is deprecated, so it will not be patched. This has been patched in version 7.1.1 (fastify v4) and version 5.0.1 (fastify v3). There are currently no known workarounds. However, it should be possible to attach the error handler manually. The recommended path is upgrading to the patched versions.",
"fixed_versions": [
"5.0.1",
"7.1.1"
],
"identifier": "CVE-2022-39386",
"identifiers": [
"CVE-2022-39386",
"GHSA-4pcg-wr6c-h9cq",
"GMS-2022-6369"
],
"not_impacted": "All versions starting from 5.0.1 up to 6.0.0, all versions starting from 7.1.1",
"package_slug": "npm/@fastify/websocket",
"pubdate": "2022-11-08",
"solution": "Upgrade to version 5.0.1, 7.1.1 or above.",
"title": "Crash on malformed packet",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-39386",
"https://github.com/fastify/fastify-websocket/security/advisories/GHSA-4pcg-wr6c-h9cq",
"https://github.com/fastify/fastify-websocket/releases/tag/v5.0.1",
"https://github.com/fastify/fastify-websocket/releases/tag/v7.1.1",
"https://github.com/advisories/GHSA-4pcg-wr6c-h9cq"
],
"uuid": "64c5300e-d5ac-4704-a73d-e970464f627e"
},
{
"affected_range": "\u003c0",
"affected_versions": "All versions starting from 5.0.0 before 5.0.1, all versions starting from 6.0.0 before 7.1.1",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2022-11-07",
"description": "### Impact\n\nAny application using @fastify/websocket could crash if a specific, malformed packet is sent. \n\nAll versions of fastify-websocket are also impacted. That module is deprecated, so it will not be patched.\n\n### Patches\n\nThis has been patched in v7.1.1 (fastify v4) and v5.0.1 (fastify v3).\n\n### Workarounds\n\nNo known workaround is available. However, it should be possible to attach the error handler manually.\nThe recommended path is upgrading to the patched versions.\n\n## Credits\n\n[marcolanaro](https://github.com/marcolanaro) for finding and patching this vulnerability\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [@fastify/websocket](https://github.com/fastify/fastify-websocket)\n* Email us at [hello@matteocollina.com](mailto:hello@matteocollina.com)\n",
"fixed_versions": [
"5.0.1",
"7.1.1"
],
"identifier": "GMS-2022-6369",
"identifiers": [
"GHSA-4pcg-wr6c-h9cq",
"GMS-2022-6369",
"CVE-2022-39386"
],
"not_impacted": "All versions before 5.0.0, all versions starting from 5.0.1 before 6.0.0, all versions starting from 7.1.1",
"package_slug": "npm/@fastify/websocket",
"pubdate": "2022-11-07",
"solution": "Upgrade to versions 5.0.1, 7.1.1 or above.",
"title": "Duplicate of ./npm/@fastify/websocket/CVE-2022-39386.yml",
"urls": [
"https://github.com/fastify/fastify-websocket/security/advisories/GHSA-4pcg-wr6c-h9cq",
"https://github.com/fastify/fastify-websocket/releases/tag/v5.0.1",
"https://github.com/fastify/fastify-websocket/releases/tag/v7.1.1",
"https://github.com/advisories/GHSA-4pcg-wr6c-h9cq"
],
"uuid": "4c725285-0bac-45e4-b933-cecb183d5b6e"
},
{
"affected_range": "\u003c=4.3.0",
"affected_versions": "All versions up to 4.3.0",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2022-11-07",
"description": "### Impact\n\nAny application using @fastify/websocket could crash if a specific, malformed packet is sent. \n\nAll versions of fastify-websocket are also impacted. That module is deprecated, so it will not be patched.\n\n### Patches\n\nThis has been patched in v7.1.1 (fastify v4) and v5.0.1 (fastify v3).\n\n### Workarounds\n\nNo known workaround is available. However, it should be possible to attach the error handler manually.\nThe recommended path is upgrading to the patched versions.\n\n## Credits\n\n[marcolanaro](https://github.com/marcolanaro) for finding and patching this vulnerability\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [@fastify/websocket](https://github.com/fastify/fastify-websocket)\n* Email us at [hello@matteocollina.com](mailto:hello@matteocollina.com)\n",
"fixed_versions": [],
"identifier": "GMS-2022-6380",
"identifiers": [
"GHSA-4pcg-wr6c-h9cq",
"GMS-2022-6380",
"CVE-2022-39386"
],
"not_impacted": "",
"package_slug": "npm/fastify-websocket",
"pubdate": "2022-11-07",
"solution": "Unfortunately, there is no solution available yet.",
"title": "fastify/websocket vulnerable to uncaught exception via crash on malformed packet",
"urls": [
"https://github.com/fastify/fastify-websocket/security/advisories/GHSA-4pcg-wr6c-h9cq",
"https://github.com/fastify/fastify-websocket/releases/tag/v5.0.1",
"https://github.com/fastify/fastify-websocket/releases/tag/v7.1.1",
"https://github.com/advisories/GHSA-4pcg-wr6c-h9cq"
],
"uuid": "40167ce2-8ca2-4332-8100-aca19704d671"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:fastify:websocket:*:*:*:*:*:node.js:*:*",
"cpe_name": [],
"versionEndExcluding": "7.1.1",
"versionStartIncluding": "6.0.0",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:fastify:websocket:5.0.0:*:*:*:*:node.js:*:*",
"cpe_name": [],
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2022-39386"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "@fastify/websocket provides WebSocket support for Fastify. Any application using @fastify/websocket could crash if a specific, malformed packet is sent. All versions of fastify-websocket are also impacted. That module is deprecated, so it will not be patched. This has been patched in version 7.1.1 (fastify v4) and version 5.0.1 (fastify v3). There are currently no known workarounds. However, it should be possible to attach the error handler manually. The recommended path is upgrading to the patched versions."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "NVD-CWE-noinfo"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/fastify/fastify-websocket/security/advisories/GHSA-4pcg-wr6c-h9cq",
"refsource": "CONFIRM",
"tags": [
"Third Party Advisory"
],
"url": "https://github.com/fastify/fastify-websocket/security/advisories/GHSA-4pcg-wr6c-h9cq"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
},
"lastModifiedDate": "2022-11-09T16:14Z",
"publishedDate": "2022-11-08T22: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…