{"id":"CVE-2023-42446","published":"2023-09-18T21:29:22Z","modified":"2024-09-24T18:11:16Z","title":"Pow Mnesia cache doesn't invalidate all expired keys on startup","vendor":"pow-auth","product":"pow","tier":"tail","description":{"text":"Pow is a authentication and user management solution for Phoenix and Plug-based apps. Starting in version 1.0.14 and prior to version 1.0.34, use of `Pow.Store.Backend.MnesiaCache` is susceptible to session hijacking as expired keys are not being invalidated correctly on startup. A session may expire when all `Pow.Store.Backend.MnesiaCache` instances have been shut down for a period that is longer than a session's remaining TTL. Version 1.0.34 contains a patch for this issue. As a workaround, expired keys, including all expired sessions, can be manually invalidated.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00547,"percentile":0.46738,"provenance":"source"},"cwes":[{"id":"CWE-298","name":"Improper Validation of Certificate Expiration"}],"references":[{"url":"https://github.com/pow-auth/pow/security/advisories/GHSA-3cjh-p6pw-jhv9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pow-auth/pow/issues/713","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":9.35},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"pow-auth","affectedVersions":[{"vendor":"pow-auth","product":"pow","versions":[">= 1.0.14, < 1.0.34"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-24T18:00:47.957433Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Hex","package":"pow","vulnerableRanges":[">=1.0.14, <1.0.34"],"patched":["1.0.34"],"from":["GHSA-3cjh-p6pw-jhv9"],"provenance":"source"}],"summary":{"text":"The Mnesia-backed session cache in the Pow authentication library (product \"pow\", affecting versions from 1.0.14 up to but not including 1.0.34) fails to invalidate expired keys on startup. An attacker with network access and low privileges can hijack a session when all MnesiaCache instances have been shut down for longer than the session's remaining TTL, and no user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:15Z"},"euvd":{"id":"EUVD-2023-2404","exploited":false,"provenance":"source"}}