6.1

CVE-2024-29041: expressjs express Open Redirect

CVSS: 6.1v3.1MediumAnalyzed
AliasesUBUNTU-CVE-2024-29041DEBIAN-CVE-2024-29041CGA-246g-68px-6v33
Published 25-03-2024Last modified 02-08-2024

Vulnerability summary

CVE-2024-29041 is a medium (CVSS 6.1) Open Redirect vulnerability in expressjs express. EPSS estimates a 0.79% chance of exploitation in the next 30 days, higher than 55.3% of scored vulnerabilities.

Overall risk
25/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.79%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 6

Timeline

  1. 25-03-2024
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.79%

Chance of exploitation in the next 30 days

Percentile

55%

Versus all other CVEs

30-day change

0.00 pp

From 0.79% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.79%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard17 products
  • arangodb-3.11< 3.11.14.5-r25
  • argo-workflows< 3.6.5-r2
  • kubeflow-centraldashboard< 1.8.0-r3
  • kubeflow-pipelines< 2.4.0-r9
  • kubeflow-pipelines-apiserver< 2.4.0-r9
Wolfi16 products
  • argo-workflows< 3.6.5-r2
  • kubeflow-centraldashboard< 1.8.0-r3
  • kubeflow-pipelines< 2.4.0-r9
  • kubeflow-pipelines-apiserver< 2.4.0-r9
  • kubeflow-pipelines-cache_server< 2.4.0-r9
Debian1 product
  • node-expressAll versions (No fix recorded) | < 4.19.2+~cs8.36.21-1
Expressjs1 product
  • express≥ 4.14.0, < 4.19.0 | ≥ 5.0.0-alpha.1, < 5.0.0-beta.3
Npm1 product
  • express< 4.19.2 | ≥ 5.0.0-alpha.1, < 5.0.0-beta.3
Openjsf1 product
  • express< 4.19.2 | 5.0.0:alpha1 | 5.0.0:alpha2 | 5.0.0:alpha3 | 5.0.0:alpha4 | 5.0.0:alpha5 | 5.0.0:alpha6 | 5.0.0:alpha7 | 5.0.0:alpha8 | 5.0.0:beta1 | 5.0.0:beta2
Ubuntu1 product
  • node-express< 4.1.1~dfsg-1ubuntu0.16.04.1~esm1 | < 4.1.1~dfsg-1ubuntu0.18.04.1~esm1 | < 4.17.1-2ubuntu0.1~esm1 | < 4.17.3+~4.17.13-1ubuntu0.1~esm1

7 vendors · 38 products

References

13 links
Show all 13 references