Advisory

GHSA-7rg2-qxmf-hhx9

Also known as: CVE-2021-41246

Summary

Session fixation in express-openid-connect

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-12-09 19:08 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

express-openid-connect

npm · All systems

Affected

  • introduced 2.3.0, fixed 2.5.2 (semver)

Fixed versions

2.5.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences