{"id":"GHSA-7rg2-qxmf-hhx9","summary":"Session fixation in express-openid-connect","details":"### Overview\n\nVersions `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.\n\n### Am I affected?\nYou 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.\n\n\n### How to fix that?\nUpgrade to version `\u003e= 2.5.2`.\n\n### Will this update impact my users?\nThe fix provided in patch will not affect your users.","aliases":["CVE-2021-41246"],"modified":"2026-07-08T06:28:35.377920672Z","published":"2021-12-09T19:08:58Z","database_specific":{"cwe_ids":["CWE-384"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-12-09T18:09:56Z","nvd_published_at":"2021-12-09T16:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/auth0/express-openid-connect/security/advisories/GHSA-7rg2-qxmf-hhx9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41246"},{"type":"WEB","url":"https://github.com/auth0/express-openid-connect/commit/5ab67ff2bd84f76674066b5e129b43ab5f2f430f"},{"type":"PACKAGE","url":"https://github.com/auth0/express-openid-connect"},{"type":"WEB","url":"https://github.com/auth0/express-openid-connect/releases/tag/v2.5.2"}],"affected":[{"package":{"name":"express-openid-connect","ecosystem":"npm","purl":"pkg:npm/express-openid-connect"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.3.0"},{"fixed":"2.5.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-7rg2-qxmf-hhx9/GHSA-7rg2-qxmf-hhx9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"}]}