SCA: security update for sinatra (GHSA-hxx2-7vcw-mqr3)

medium Tenable Self-Hosted Container Security Plugin ID 421306

Description

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

- Versions of the package sinatra from 0.0.0 are vulnerable to Reliance on Untrusted Inputs in a Security
Decision via the X-Forwarded-Host (XFH) header. When making a request to a method with redirect applied,
it is possible to trigger an Open Redirect Attack by inserting an arbitrary address into this header. If
used for caching purposes, such as with servers like Nginx, or as a reverse proxy, without handling the
X-Forwarded-Host header, attackers can potentially exploit Cache Poisoning or Routing-based SSRF.
(CVE-2024-21510)

See Also

https://github.com/advisories/GHSA-hxx2-7vcw-mqr3

Plugin Details

Severity: Medium

ID: 421306

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 3/28/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 7.46

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2024-21510

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 1.3

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 11/1/2024

Vulnerability Publication Date: 11/1/2024

Reference Information

CVE: CVE-2024-21510

cwe: CWE-807