Session Fixation Affecting express-openid-connect package, versions >=2.3.0 <2.5.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.34% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-EXPRESSOPENIDCONNECT-2314891
  • published10 Dec 2021
  • disclosed9 Dec 2021
  • creditUnknown

Introduced: 9 Dec 2021

CVE-2021-41246  (opens in a new tab)
CWE-384  (opens in a new tab)

How to fix?

Upgrade express-openid-connect to version 2.5.2 or higher.

Overview

express-openid-connect is an Express JS middleware implementing sign on for Express web apps using OpenID Connect.

Affected versions of this package are vulnerable to Session Fixation due to a failure to regenerate the session ID and session cookie when a user logs in. This behavior opens up the application to various session fixation vulnerabilities.

References

CVSS Scores

version 3.1