CVE-2024-29041

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-29041
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-29041.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-29041
Aliases
Related
Published
2024-03-25T21:15:46Z
Modified
2024-10-12T11:21:30.465614Z
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

Debian:11 / node-express

Package

Name
node-express
Purl
pkg:deb/debian/node-express?arch=source

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
4.17.3+~4.17.13-2
4.18.0+~4.17.13-1
4.18.1+~4.17.13-1
4.18.2+~4.17.14-1
4.18.2+~cs8.34.50-1
4.19.2+~cs8.36.21-1
4.19.2+~cs8.36.26-1
4.21.0+~cs8.36.26-1
4.21.0+~cs8.36.26-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / node-express

Package

Name
node-express
Purl
pkg:deb/debian/node-express?arch=source

Affected ranges

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

Affected versions

4.*

4.18.2+~4.17.14-1
4.18.2+~cs8.34.50-1
4.19.2+~cs8.36.21-1
4.19.2+~cs8.36.26-1
4.21.0+~cs8.36.26-1
4.21.0+~cs8.36.26-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / node-express

Package

Name
node-express
Purl
pkg:deb/debian/node-express?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.19.2+~cs8.36.21-1

Affected versions

4.*

4.18.2+~4.17.14-1
4.18.2+~cs8.34.50-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/expressjs/express

Affected ranges

Type
GIT
Repo
https://github.com/expressjs/express
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

0.*

0.0.1
0.0.2
0.1.0
0.10.0
0.10.1
0.11.0
0.12.0
0.13.0
0.14.0
0.2.0
0.2.1
0.3.0
0.4.0
0.5.0
0.6.0
0.7.0
0.7.1
0.7.2
0.7.3
0.7.4
0.7.5
0.7.6
0.8.0
0.9.0

1.*

1.0.0
1.0.0beta
1.0.0beta2
1.0.0rc
1.0.0rc2
1.0.0rc3
1.0.0rc4

2.*

2.0.0
2.0.0beta2
2.0.0beta3
2.0.0rc
2.0.0rc2
2.0.0rc3
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2
2.3.0
2.3.1
2.3.10
2.3.11
2.3.12
2.3.2
2.3.3
2.3.4
2.3.5
2.3.6
2.3.7
2.3.8
2.3.9
2.4.0
2.4.1
2.4.2
2.4.3

3.*

3.0.0alpha1
3.0.0alpha2
3.0.0alpha3
3.0.0alpha4
3.0.0alpha5
3.0.0beta1
3.0.0beta2
3.0.0beta3
3.0.0beta4
3.0.0beta5
3.0.0beta6
3.0.0beta7
3.0.0rc1
3.0.0rc2
3.0.0rc3
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.1.0
3.1.1
3.1.2
3.10.0
3.10.1
3.10.2
3.10.3
3.10.4
3.10.5
3.11.0
3.12.0
3.12.1
3.13.0
3.14.0
3.15.0
3.15.1
3.15.2
3.15.3
3.16.0
3.16.1
3.16.10
3.16.2
3.16.3
3.16.4
3.16.5
3.16.6
3.16.7
3.16.8
3.16.9
3.17.0
3.17.1
3.17.2
3.17.3
3.17.4
3.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