SCA: security update for express (GHSA-rv95-896h-c2vc)

medium Tenable Cloud Security Plugin ID 418929

Description

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

- Express.js minimalist web framework for node. Versions of Express.js prior to 4.19.0 and all pre-release
alpha and beta versions of 5.0 are affected by an open redirect vulnerability using malformed URLs. When a
user of Express performs a redirect using a user-provided URL Express performs an encode [using
`encodeurl`](https://github.com/pillarjs/encodeurl) on the contents before passing it to the `location`
header. This can cause malformed URLs to be evaluated in unexpected ways by common redirect allow list
implementations in Express applications, leading to an Open Redirect via bypass of a properly implemented
allow list. The main method impacted is `res.location()` but this is also called from within
`res.redirect()`. The vulnerability is fixed in 4.19.2 and 5.0.0-beta.3. (CVE-2024-29041)

See Also

https://github.com/advisories/GHSA-rv95-896h-c2vc

Plugin Details

Severity: Medium

ID: 418929

Version: Revision 1.11

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

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2024-29041

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: 3/25/2024

Vulnerability Publication Date: 1/31/2024

Reference Information

CVE: CVE-2024-29041