SCA: security update for @fastify/swagger-ui (GHSA-62jr-84gf-wmg4)

medium Tenable Self-Hosted Container Security Plugin ID 411119

Description

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

- fastify-swagger-ui is a Fastify plugin for serving Swagger UI. Prior to 2.1.0, the default configuration
of `@fastify/swagger-ui` without `baseDir` set will lead to all files in the module's directory being
exposed via http routes served by the module. The vulnerability is fixed in v2.1.0. Setting the `baseDir`
option can also work around this vulnerability. (CVE-2024-22207)

See Also

https://github.com/advisories/GHSA-62jr-84gf-wmg4

Plugin Details

Severity: Medium

ID: 411119

Version: Revision 1.6

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

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2024-22207

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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: 1/16/2024

Vulnerability Publication Date: 1/15/2024

Reference Information

CVE: CVE-2024-22207