Lookup for vulnerable packages by Package URL.
| Purl | pkg:npm/%40fastify/websocket@5.0.0 |
| Type | npm |
| Namespace | @fastify |
| Name | websocket |
| Version | 5.0.0 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 5.0.1 |
| Latest_non_vulnerable_version | 7.1.1 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-cxpn-nqmb-h7gv |
| vulnerability_id |
VCID-cxpn-nqmb-h7gv |
| summary |
fastify/websocket vulnerable to uncaught exception via crash on malformed packet
### Impact
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.
### Patches
This has been patched in v7.1.1 (fastify v4) and v5.0.1 (fastify v3).
### Workarounds
No known workaround is available. However, it should be possible to attach the error handler manually.
The recommended path is upgrading to the patched versions.
## Credits
[marcolanaro](https://github.com/marcolanaro) for finding and patching this vulnerability
### For more information
If you have any questions or comments about this advisory:
* Open an issue in [@fastify/websocket](https://github.com/fastify/fastify-websocket)
* Email us at [hello@matteocollina.com](mailto:hello@matteocollina.com) |
| references |
| 0 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2022-39386 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00334 |
| scoring_system |
epss |
| scoring_elements |
0.56609 |
| published_at |
2026-06-06T12:55:00Z |
|
| 1 |
| value |
0.00334 |
| scoring_system |
epss |
| scoring_elements |
0.56601 |
| published_at |
2026-06-09T12:55:00Z |
|
| 2 |
| value |
0.00334 |
| scoring_system |
epss |
| scoring_elements |
0.56583 |
| published_at |
2026-06-08T12:55:00Z |
|
| 3 |
| value |
0.00334 |
| scoring_system |
epss |
| scoring_elements |
0.56598 |
| published_at |
2026-06-07T12:55:00Z |
|
| 4 |
| value |
0.00334 |
| scoring_system |
epss |
| scoring_elements |
0.5655 |
| published_at |
2026-06-04T12:55:00Z |
|
| 5 |
| value |
0.00334 |
| scoring_system |
epss |
| scoring_elements |
0.56603 |
| published_at |
2026-06-05T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2022-39386 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
|
| fixed_packages |
|
| aliases |
CVE-2022-39386, GHSA-4pcg-wr6c-h9cq, GMS-2022-6369, GMS-2022-6380
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-cxpn-nqmb-h7gv |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 4.0 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:npm/%2540fastify/websocket@5.0.0 |