CVE-2023-42446CWE-298

Pow Mnesia cache doesn't invalidate all expired keys on startup

Medium · published September 18, 2023

CVSS v3.1
6.5
EPSS
1%
Percentile
45.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00547 · 45.0th percentile
Weakness
CWE-298 · Improper Validation of Certificate Expiration
Published
2023-09-18T21:29Z
EPSS history
Timeline
  • 18 SEP 21:29Z
    Pow Mnesia cache doesn't invalidate all expired keys on startup
    cvelistv5