CVE-2023-42446

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

State
Published
Severity
6.5 Medium
Published
Sep 18, 2023
Updated
Sep 24, 2024
Reserved
Sep 8, 2023

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NGitHub_M

Weaknesses

  • CWE-298 Improper Validation of Certificate Expiration

Affected Products

ProductVersions
powpow-auth
  • >= 1.0.14, < 1.0.34Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.