SCA: security update for trailing-slash (GHSA-rfhr-62xp-2fp2)

medium Tenable Cloud Security Plugin ID 418703

Description

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

- The package trailing-slash before 2.0.1 are vulnerable to Open Redirect via the use of trailing double
slashes in the URL when accessing the vulnerable endpoint (such as
https://example.com//attacker.example/). The vulnerable code is in index.js::createTrailing(), as the web
server uses relative URLs instead of absolute URLs. (CVE-2021-23387)

See Also

https://github.com/advisories/GHSA-rfhr-62xp-2fp2

Plugin Details

Severity: Medium

ID: 418703

Version: Revision 1.4

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

Percentile: 8.67

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.5

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

CVSS Score Source: CVE-2021-23387

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

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:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/8/2021

Vulnerability Publication Date: 5/24/2021

Reference Information

CVE: CVE-2021-23387

cwe: CWE-601