SCA: security update for fastify-csrf (GHSA-rc4q-9m69-gqp8)

medium Tenable Cloud Security Plugin ID 418653

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- fastify-csrf is an open-source plugin helps developers protect their Fastify server against CSRF attacks.
Versions of fastify-csrf prior to 3.1.0 have a "double submit" mechanism using cookies with an application
deployed across multiple subdomains, e.g. "heroku"-style platform as a service. Version 3.1.0 of the
fastify-csrf fixes it. the vulnerability. The user of the module would need to supply a `userInfo` when
generating the CSRF token to fully implement the protection on their end. This is needed only for
applications hosted on different subdomains. (CVE-2021-29624)

See Also

https://github.com/advisories/GHSA-rc4q-9m69-gqp8

Plugin Details

Severity: Medium

ID: 418653

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.51

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2021-29624

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/17/2021

Vulnerability Publication Date: 5/17/2021

Reference Information

CVE: CVE-2021-29624