SCA: security update for fastify-csrf (GHSA-49wp-qq6x-g2rf)

high Tenable Self-Hosted Container Security Plugin ID 410088

Description

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

- This affects the package fastify-csrf before 3.0.0. 1. The generated cookie used insecure defaults, and
did not have the httpOnly flag on: cookieOpts: { path: '/', sameSite: true } 2. The CSRF token was
available in the GET query parameter (CVE-2020-28482)

See Also

https://github.com/advisories/GHSA-49wp-qq6x-g2rf

Plugin Details

Severity: High

ID: 410088

Version: Revision 1.4

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: Medium

Score: 4.9

Percentile: 57.12

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2020-28482

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/20/2021

Vulnerability Publication Date: 1/19/2021

Reference Information

CVE: CVE-2020-28482

cwe: CWE-352