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

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.

公開: 2024-03-25 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2024-29041 は中リスク(42.9/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.79%、51 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2024-29041 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.15% 0.79% +0.63%
2 2026-05-23 0.11% 0.15% +0.04%
3 2026-05-22 0.11%

EPSS の全履歴 (全 13 件)

CVE-2024-29041 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
6.1 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:C)
脆弱箇所を足がかりに、別コンポーネントや別権限域まで影響が広がりうる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
2.8 2.7 [email protected]

CVE-2024-29041 の弱点分類(列挙)

CVE-2024-29041 の GitHub Security Advisory

GHSA-rv95-896h-c2vc · 深刻度: medium · エコシステム: npm — Express.js Open Redirect in malformed URLs

CVE-2024-29041 の OS トラッカー

vendor priority summary link
debian not yet assigned CVE-2024-29041 not yet assigned priority: Debian including 1 source packages (node-express), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. https://security-tracker.debian.org/tracker/CVE-2024-29041
redhat high https://access.redhat.com/security/cve/CVE-2024-29041
ubuntu medium CVE-2024-29041 medium priority: Ubuntu including 1 source packages (node-express), 10 status rows across 10 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, upstream, xenial): not-affected 4, released 4, ignored 1, needs-triage 1. https://ubuntu.com/security/CVE-2024-29041

CVE-2024-29041 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
openjsf express < 4.19.2 cpe:2.3:a:openjsf:express:*:*:*:*:*:node.js:*:*
openjsf express 5.0.0 cpe:2.3:a:openjsf:express:5.0.0:alpha1:*:*:*:node.js:*:*
openjsf express 5.0.0 cpe:2.3:a:openjsf:express:5.0.0:alpha2:*:*:*:node.js:*:*
openjsf express 5.0.0 cpe:2.3:a:openjsf:express:5.0.0:alpha3:*:*:*:node.js:*:*
openjsf express 5.0.0 cpe:2.3:a:openjsf:express:5.0.0:alpha4:*:*:*:node.js:*:*
openjsf express 5.0.0 cpe:2.3:a:openjsf:express:5.0.0:alpha5:*:*:*:node.js:*:*
openjsf express 5.0.0 cpe:2.3:a:openjsf:express:5.0.0:alpha6:*:*:*:node.js:*:*
openjsf express 5.0.0 cpe:2.3:a:openjsf:express:5.0.0:alpha7:*:*:*:node.js:*:*
openjsf express 5.0.0 cpe:2.3:a:openjsf:express:5.0.0:alpha8:*:*:*:node.js:*:*
openjsf express 5.0.0 cpe:2.3:a:openjsf:express:5.0.0:beta1:*:*:*:node.js:*:*
openjsf express 5.0.0 cpe:2.3:a:openjsf:express:5.0.0:beta2:*:*:*:node.js:*:*

CVE-2024-29041 の参考情報

cvelogic Threat Intelligence