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

Published Dec 9, 2021
·
Updated

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 Software

1 affected component
Auth0 Express Openid Connect Node.js>=2.3.0<2.5.2

Event History

Dec 9, 2021
CVE Published
via MITRE·03:55 PM
Data Sourced
via MITRE·03:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-41246?

CVE-2021-41246 is considered a medium severity vulnerability due to its potential for session fixation attacks.

2

How do I fix CVE-2021-41246?

To fix CVE-2021-41246, upgrade the Auth0 Express OpenID Connect middleware to version 2.5.2 or later.

3

What does CVE-2021-41246 affect?

CVE-2021-41246 affects versions of Auth0 Express OpenID Connect middleware prior to 2.5.2.

4

What type of vulnerability is CVE-2021-41246?

CVE-2021-41246 is a session fixation vulnerability that arises from not regenerating session IDs upon user login.

5

Can I be exploited if I'm using an affected version listed in CVE-2021-41246?

Yes, using an affected version of the Auth0 Express OpenID Connect middleware leaves your application vulnerable to session fixation attacks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203