GitHub Advisoryadvisory · npm

GHSA-7rg2-qxmf-hhx9 Session fixation in express-openid-connect

MEDIUM Published 2021-12-09 Modified 2021-12-15 Official page ↗
Aliases
CVE-2021-41246
Ecosystem
npm
Packages
express-openid-connect
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Weaknesses
CWE-384
Reviewed
2021-12-09

Affected packages

• npm express-openid-connect: >= 2.3.0, < 2.5.2 → fixed in 2.5.2

Description

Overview Versions `2.3.0` up to 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. Am I affected? You are affected by this vulnerability if you are using `express-openid-connect` version `2.3.0` up to and including `2.5.1` and use a custom session store. How to fix that? Upgrade to version `>= 2.5.2`. Will this update impact my users? The fix provided in patch will not affect your users.

Related

Alias · CVE (1)

  • CVE-2021-41246 Express OpenID Connect is express JS middleware implementing sign on for Express web apps using OpenID Connect. vulnerability

Weakness · CWE (1)

  • CWE-384 Session Fixation weakness

References