Vulnerability · Published Dec 9, 2021 · Assigned by GitHub_M

CVE-2021-41246Session fixation in express-openid-connect

Medium 4.6

In plain English

A medium-severity session fixation in express-openid-connect from auth0. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.6Medium
Exploit odds (30 days)0.9%top 39.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmexpress-openid-connect2.5.2GHSA-7rg2-qxmf-hhx9

Affected products (as reported)

VendorProductVersions
auth0 express-openid-connect >= 2.3.0, < 2.5.2

Weakness: CWE-384 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

References