UBUNTU-CVE-2024-29041

Source
https://ubuntu.com/security/CVE-2024-29041
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29041.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-29041
Related
Published
2024-03-25T21:15:00Z
Modified
2024-10-15T14:14:09Z
Summary
[none]
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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / node-express

Package

Name
node-express
Purl
pkg:deb/ubuntu/node-express?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.1.1~dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / node-express

Package

Name
node-express
Purl
pkg:deb/ubuntu/node-express?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.1.1~dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / node-express

Package

Name
node-express
Purl
pkg:deb/ubuntu/node-express?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.17.1-1
4.17.1-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / node-express

Package

Name
node-express
Purl
pkg:deb/ubuntu/node-express?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.17.1-3
4.17.1+~cs4.17.13-1
4.17.2+~4.17.13-1
4.17.3+~4.17.13-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / node-express

Package

Name
node-express
Purl
pkg:deb/ubuntu/node-express?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.19.2+~cs8.36.21-1
4.19.2+~cs8.36.26-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / node-express

Package

Name
node-express
Purl
pkg:deb/ubuntu/node-express?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.18.2+~cs8.34.50-1
4.19.2+~cs8.36.21-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}