CVE-2024-29041
mediumpriority · track · 0EPSS 0.008 · 56 %ileDEEUNLRUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (19)
Products and version ranges known to be affected.
- jd_edwards_enterpriseone_toolsall versionsncsc_nlNLcpe:2.3:a:oracle:jd_edwards_enterpriseone_tools:prior_to_9.2.9.2:*:*:*:*:*:*:*
- jd_edwards_world_securityall versionsncsc_nlNLcpe:2.3:a:oracle:jd_edwards_world_security:a9.4:*:*:*:*:*:*:*
- oracle jd edwards enterpriseone orchestratorall versionsncsc_nlNLcpe:2.3:a:oracle:jd_edwards_enterpriseone_orchestrator:*:*:*:*:*:*:*:*
- oracle jd edwards enterpriseone toolsall versionsncsc_nlNLcpe:2.3:a:oracle:jd_edwards_enterpriseone_tools:*:*:*:*:*:*:*:*
advisories (7)
Vendor and ecosystem advisories describing this.
- NCSC-2025-0026Kwetsbaarheden verholpen in Oracle JD EdwardsNL2025-01-22csaf · ncsc_nlNL
Oracle heeft kwetsbaarheden verholpen in JD Edwards EnterpriseOne Tools (specifiek voor versies prior tot 9.2.9.2).
- WID-SEC-W-2024-0956IBM App Connect Enterprise: Mehrere SchwachstellenDeutsch2024-04-23csaf · cert_bundDE
Ein entfernter Angreifer kann mehrere Schwachstellen in IBM App Connect Enterprise ausnutzen, um Phishing-Angriffe durchzuführen, Sicherheitsmaßnahmen zu umgehen oder vertrauliche Informationen offenzulegen.
- WID-SEC-W-2024-1590HCL BigFix: Mehrere SchwachstellenDeutsch2024-07-10csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in HCL BigFix ausnutzen, um einen Denial of Service Angriff durchzuführen, ertrauliche Informationen preiszugeben, Daten zu manipulieren und Sicherheitsmaßnahmen zu umgehen.
- WID-SEC-W-2024-2036Red Hat OpenShift: Mehrere Schwachstellen ermöglichen Umgehen von SicherheitsvorkehrungenDeutsch2024-09-03csaf · cert_bundDE
Ein entfernter anonymer Angreifer kann mehrere Schwachstellen in Red Hat OpenShift ausnutzen, um Sicherheitsmaßnahmen zu umgehen, vertrauliche Informationen offenzulegen oder einen Denial-of-Service-Zustand zu erzeugen.
- WID-SEC-W-2025-0010HCL BigFix Server Automation: Mehrere SchwachstellenDeutsch2025-01-05csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in HCL BigFix Server Automation ausnutzen, um Dateien zu manipulieren, vertrauliche Informationen preiszugeben und Phishing-Angriffe durchzuführen.
- WID-SEC-W-2025-0168Oracle JD Edwards: Mehrere SchwachstellenDeutsch2025-01-21csaf · cert_bundDE
Ein entfernter, anonymer oder authentisierter Angreifer kann mehrere Schwachstellen in Oracle JD Edwards ausnutzen, um die Vertraulichkeit, Integrität und Verfügbarkeit zu gefährden.
- GHSA-rv95-896h-c2vcExpress.js Open Redirect in malformed URLs2024-03-25ghsa · osvUS
### Impact Versions of Express.js prior to 4.19.2 and pre-release alpha and beta versions before 5.0.0-beta.3 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()`. ### Patches https://github.com/expressjs/express/commit/0867302ddbde0e9463d0564fea5861feb708c2dd https://github.com/expressjs/express/commit/0b746953c4bd8e377123527db11f9cd866e39f94 An initial fix went out with `express@4.19.0`, we then patched a feature regression in `4.19.1` and added improved handling for the bypass in `4.19.2`. ### Workarounds The fix for this involves pre-parsing the url string with either `require('node:url').parse` or `new URL`. These are steps you can take on your own before passing the user input string to `res.location` or `res.redirect`. ### Resources https://github.com/expressjs/express/pull/5539 https://github.com/koajs/koa/issues/1800 https://expressjs.com/en/4x/api.html#res.location
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (21)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-29041/cnnvd
- https://expressjs.com/en/4x/api.html#res.locationcnnvd
- https://github.com/expressjs/express/commit/0867302ddbde0e9463d0564fea5861feb708c2ddcnnvd
- https://github.com/expressjs/express/commit/0b746953c4bd8e377123527db11f9cd866e39f94cnnvd
- https://github.com/expressjs/express/pull/5539cnnvd
- https://github.com/expressjs/express/releases/tag/v5.0.0-beta.3Patchcnnvd
- https://github.com/expressjs/express/security/advisories/GHSA-rv95-896h-c2vccnnvd
- https://github.com/koajs/koa/issues/1800cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan