CVE-2022-24794

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-24794
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-24794.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-24794
Aliases
Related
Published
2022-03-31T23:15:08Z
Modified
2025-01-08T14:07:10.977355Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

Express OpenID Connect is an Express JS middleware implementing sign on for Express web apps using OpenID Connect. Users of the requiresAuth middleware, either directly or through the default authRequired option, are vulnerable to an Open Redirect when the middleware is applied to a catch all route. If all routes under example.com are protected with the requiresAuth middleware, a visit to http://example.com//google.com will be redirected to google.com after login because the original url reported by the Express framework is not properly sanitized. This vulnerability affects versions prior to 2.7.2. Users are advised to upgrade. There are no known workarounds.

References

Affected packages

Git / github.com/auth0/express-openid-connect

Affected ranges

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

Affected versions

v.*

v.0.6.0

v0.*

v0.0.2
v0.0.3
v0.1.0
v0.2.0
v0.2.1
v0.3.0
v0.4.0
v0.5.0
v0.7.0
v0.8.0
v0.8.1

v1.*

v1.0.0
v1.0.1
v1.0.2

v2.*

v2.0.0
v2.1.0
v2.2.0
v2.2.1
v2.3.0
v2.3.1
v2.4.0
v2.5.0
v2.5.1
v2.5.2
v2.6.0
v2.7.0
v2.7.1