Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-29041— Express.js Open Redirect in malformed URLs

Quick assessment

Affected
expressjs express
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Express.js是Express.js开源的一个 Node.js 的快速、无限制、极简的 web 框架。 Express.js 4.19.0之前版本、5.0版本存在安全漏洞,该漏洞源于允许使用格式错误的 URL 开放重定向。

CVSS 6.1 · Medium EPSS 0.79% · P55
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-29041

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Express.js Open Redirect in malformed URLs
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
指向未可信站点的URL重定向(开放重定向)
Source: CVE Program / CVE List V5
Vulnerability Title
Express.js 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Express.js是Express.js开源的一个 Node.js 的快速、无限制、极简的 web 框架。 Express.js 4.19.0之前版本、5.0版本存在安全漏洞,该漏洞源于允许使用格式错误的 URL 开放重定向。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
expressjs express >=4.14.0, <4.19.0 -

II. Public POCs for CVE-2024-29041

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-29041

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-29041 (3)

Vendor Advisories for CVE-2024-29041 (1)

Other References for CVE-2024-29041 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2024-29041

No comments yet


Leave a comment