PT-2021-18374

CVE-2021-29624

·

Published

2021-05-17

·

Updated

2023-05-02

Description by

CVSS 3.1
6.5
Medium
MetricsAV: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.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-QRGF-9GPC-VRXW
GHSA-RC4Q-9M69-GQP8
Found an issue in the description? Have something to add? Feel free to write us 👾