Advisory

DEBIAN-CVE-2024-29041

Also known as: CVE-2024-29041

Summary

The record has no summary.

Details

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` 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.

Severity

Medium Basis: CVSS v3 score 6.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2024-03-25 21:15 UTC
Modified
2026-11-02 12:01 UTC

Affected packages and fixes

node-express

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

node-express

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 4.19.2+~cs8.36.21-1 (ecosystem)

Fixed versions

4.19.2+~cs8.36.21-1

Fix

  • Fixed version 4.19.2+~cs8.36.21-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

node-express

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 4.19.2+~cs8.36.21-1 (ecosystem)

Fixed versions

4.19.2+~cs8.36.21-1

Fix

  • Fixed version 4.19.2+~cs8.36.21-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences