What’s Vulnerable › Vulnerabilities

CVE-2021-41246: Session fixation in express-openid-connect

Description

Express OpenID Connect is express JS middleware implementing sign on for Express web apps using OpenID Connect. Versions before and including `2.5.1` do not regenerate the session id and session cookie when user logs in. This behavior opens up the application to various session fixation vulnerabilities. Versions `2.5.2` contains a patch for this issue.

Affected products

How to fix

Upgrade to a fixed version: auth0 express-openid-connect 2.5.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-41246 or the next vulnerability affects your stack