{"id":"CVE-2021-41246","state":"PUBLISHED","title":"Session fixation in express-openid-connect","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.","publishedAt":"2021-12-09T15:55:10.000Z","updatedAt":"2024-08-04T03:08:31.551Z","severity":{"score":4.6,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["auth0 express-openid-connect"],"affected":[{"vendor":"auth0","product":"express-openid-connect","versions":[{"version":">= 2.3.0, < 2.5.2","status":"affected"}]}],"references":["https://github.com/auth0/express-openid-connect/security/advisories/GHSA-7rg2-qxmf-hhx9","https://github.com/auth0/express-openid-connect/commit/5ab67ff2bd84f76674066b5e129b43ab5f2f430f","https://github.com/auth0/express-openid-connect/releases/tag/v2.5.2"],"weaknesses":["CWE-384"],"ingestedAt":"2026-10-29T19:49:01.697Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/41xxx/CVE-2021-41246.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-41246","state":"PUBLISHED","datePublished":"2021-12-09T15:55:10.000Z","dateUpdated":"2024-08-04T03:08:31.551Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2021-09-15T00:00:00.000Z"},"containers":{"cna":{"title":"Session fixation in express-openid-connect","descriptions":[{"lang":"en","value":"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":[{"vendor":"auth0","product":"express-openid-connect","versions":[{"version":">= 2.3.0, < 2.5.2","status":"affected"}]}],"references":[{"url":"https://github.com/auth0/express-openid-connect/security/advisories/GHSA-7rg2-qxmf-hhx9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/auth0/express-openid-connect/commit/5ab67ff2bd84f76674066b5e129b43ab5f2f430f","tags":["x_refsource_MISC"]},{"url":"https://github.com/auth0/express-openid-connect/releases/tag/v2.5.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-384","description":"CWE-384: Session Fixation","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-12-09T15:55:10.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-7rg2-qxmf-hhx9","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-41246","STATE":"PUBLIC","TITLE":"Session fixation in express-openid-connect"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"express-openid-connect","version":{"version_data":[{"version_value":">= 2.3.0, < 2.5.2"}]}}]},"vendor_name":"auth0"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-384: Session Fixation"}]}]},"references":{"reference_data":[{"name":"https://github.com/auth0/express-openid-connect/security/advisories/GHSA-7rg2-qxmf-hhx9","refsource":"CONFIRM","url":"https://github.com/auth0/express-openid-connect/security/advisories/GHSA-7rg2-qxmf-hhx9"},{"name":"https://github.com/auth0/express-openid-connect/commit/5ab67ff2bd84f76674066b5e129b43ab5f2f430f","refsource":"MISC","url":"https://github.com/auth0/express-openid-connect/commit/5ab67ff2bd84f76674066b5e129b43ab5f2f430f"},{"name":"https://github.com/auth0/express-openid-connect/releases/tag/v2.5.2","refsource":"MISC","url":"https://github.com/auth0/express-openid-connect/releases/tag/v2.5.2"}]},"source":{"advisory":"GHSA-7rg2-qxmf-hhx9","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/auth0/express-openid-connect/security/advisories/GHSA-7rg2-qxmf-hhx9","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/auth0/express-openid-connect/commit/5ab67ff2bd84f76674066b5e129b43ab5f2f430f","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/auth0/express-openid-connect/releases/tag/v2.5.2","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T03:08:31.551Z"}}]}}}