CVE-2024-29041

node-express: Express.js minimalist web framework for node

CVE-2024-29041 is fixed in node-express on 1 platform, first by DEBIAN-CVE-2024-29041, released March 25, 2024. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.1
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0079
56th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
node-express · Debian 13.5 (trixie) 4.19.2+~cs8.36.21-1 DEBIAN-CVE-2024-29041 Mar 25, 2024
node-express · Debian 14 4.19.2+~cs8.36.21-1 DEBIAN-CVE-2024-29041 Mar 25, 2024
node-express · Ubuntu 18.04.6 LTS (bionic) 4.1.1~dfsg-1ubuntu0.18.04.1~esm1 node-express 4.1.1~dfsg-1ubuntu0.18.04.1~esm1 Sep 10, 2024
node-express · Ubuntu 20.04 LTS (focal) 4.17.1-2ubuntu0.1~esm1 node-express 4.17.1-2ubuntu0.1~esm1 Sep 10, 2024
node-express · Ubuntu 22.04.1 LTS (jammy) 4.17.3+~4.17.13-1ubuntu0.1~esm1 node-express 4.17.3+~4.17.13-1ubuntu0.1~esm1 Sep 10, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.