SCA: security update for sinatra (GHSA-qp49-3pvw-x4m5)

high Tenable Self-Hosted Container Security Plugin ID 418228

Description

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

- Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static
files. (CVE-2022-29970)

See Also

https://github.com/advisories/GHSA-qp49-3pvw-x4m5

Plugin Details

Severity: High

ID: 418228

Version: Revision 1.10

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.18

Vendor

Vendor Severity: High

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-2022-29970

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: 5/3/2022

Vulnerability Publication Date: 5/2/2022

Reference Information

CVE: CVE-2022-29970