PT-2021-18374 · Unknown · Fastify-Csrf

·

CVE-2021-29624

·

Published

2021-05-17

·

Updated

2023-05-02

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions fastify-csrf versions prior to 3.1.0
Description The issue affects applications using the fastify-csrf plugin with the "double submit" mechanism, particularly those deployed across multiple subdomains. To fully implement protection, users of the module must supply a userInfo when generating the CSRF token, which is necessary for applications hosted on different subdomains.
Recommendations For versions prior to 3.1.0, update to version 3.1.0 to fix the issue. As a temporary workaround, consider supplying a userInfo when generating the CSRF token to enhance protection, especially for applications hosted on different subdomains.

Fix

CSRF

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-29624
GHSA-QRGF-9GPC-VRXW
GHSA-RC4Q-9M69-GQP8

Affected Products

Fastify-Csrf