SCA: security update for koa-remove-trailing-slashes (GHSA-r773-pmw3-f4mr)

medium Tenable Self-Hosted Container Security Plugin ID 418557

Description

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

- The package koa-remove-trailing-slashes before 2.0.2 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::removeTrailingSlashes(), as
the web server uses relative URLs instead of absolute URLs. (CVE-2021-23384)

See Also

https://github.com/advisories/GHSA-r773-pmw3-f4mr

Plugin Details

Severity: Medium

ID: 418557

Version: Revision 1.5

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

Percentile: 6.91

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-23384

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.9

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/10/2022

Vulnerability Publication Date: 5/17/2021

Reference Information

CVE: CVE-2021-23384

cwe: CWE-601