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

    Threat Intelligence

    EPSS
    0.25% (66th 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 ID SNYK-JS-EXPRESSOPENIDCONNECT-2314891
  • published 10 Dec 2021
  • disclosed 9 Dec 2021
  • credit Unknown

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
Expand this section

Snyk

Recommended
4.6 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

NVD

8.8 high