CVE-2022-24794 Open Redirect in express-openid-connect
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| auth0 express openid connect | < 2.7.2 | 2.7.2 | Fixed |
| npm express-openid-connect(npm) | < 2.7.2 | 2.7.2 | Fixed |
| auth0 express-openid-connect | = < 2.7.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm express-openid-connect(npm) | < 2.7.2 | 2.7.2 |
| auth0 express-openid-connect | = < 2.7.2 | No fix listed |
| auth0 express openid connect | < 2.7.2 | 2.7.2 |
References
- github.com third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product