SCA: security update for rswag (GHSA-vc79-65pr-q82v)

high Tenable Self-Hosted Container Security Plugin ID 419257

Description

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

- rswag before 2.10.1 allows remote attackers to read arbitrary JSON and YAML files via directory traversal,
because rswag-api can expose a file that is not the OpenAPI (or Swagger) specification file of a project.
(CVE-2023-38337)

See Also

https://github.com/advisories/GHSA-vc79-65pr-q82v

Plugin Details

Severity: High

ID: 419257

Version: Revision 1.7

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

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2023-38337

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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: 7/15/2023

Vulnerability Publication Date: 7/14/2023

Reference Information

CVE: CVE-2023-38337

cwe: CWE-22