SCA: security update for actionpack (GHSA-5hq2-xf89-9jxq)

medium Tenable Self-Hosted Container Security Plugin ID 410867

Description

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

- The actionpack ruby gem before 6.1.3.2 suffers from a possible open redirect vulnerability. Specially
crafted Host headers in combination with certain "allowed host" formats can cause the Host Authorization
middleware in Action Pack to redirect users to a malicious website. This is similar to CVE-2021-22881.
Strings in config.hosts that do not have a leading dot are converted to regular expressions without proper
escaping. This causes, for example, `config.hosts << "sub.example.com"` to permit a request with a Host
header value of `sub-example.com`. (CVE-2021-22903)

See Also

https://github.com/advisories/GHSA-5hq2-xf89-9jxq

Plugin Details

Severity: Medium

ID: 410867

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 8/7/2025

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 8.67

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.3

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

CVSS Score Source: CVE-2021-22903

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/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/5/2021

Vulnerability Publication Date: 5/5/2021

Reference Information

CVE: CVE-2021-22903

cwe: CWE-601