High severity · published Dec 9, 2021
CVE-2021-41246
Session fixation in express-openid-connect
8.8
CVSS
0.9%
EPSS
No
On KEV
Description
Express OpenID Connect is express JS middleware implementing sign on for Express web apps using OpenID Connect. Versions before 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. Versions `2.5.2` contains a patch for this issue.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.9% · higher than 60% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EX
express-openid-connect · auth0
>= 2.3.0, < 2.5.2 · source: vendor
EO
Express Openid Connect · Auth0
2.3.0 before 2.5.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-41246
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-41246
Patch
https://github.com/auth0/express-openid-connect/commit/5ab67ff2bd84f76674066b5e129b43ab5f2f430f
Release Notes
https://github.com/auth0/express-openid-connect/releases/tag/v2.5.2
Third Party Advisory
https://github.com/auth0/express-openid-connect/security/advisories/GHSA-7rg2-qxmf-hhx9
More from express-openid-connect
6.1
CVE-2022-24794
Open Redirect in express-openid-connect
