A flaw was found in @fastify/cors. An unauthenticated remote attacker can cause a Denial of Service (DoS) by sending a Cross-Origin Resource Sharing (CORS) preflight request to an application configured with a non-default hook. Under these conditions, the plugin improperly attempts to write response headers multiple times, triggering an unhandled error that can crash the server process.
Exploitability
AV:NAC:HPR:NUI:NScope
S:UImpact
C:NI:NA:L3.7/CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L