Improper Validation of Certificate Expiration Affecting pow package, versions >=1.0.14 <1.0.34


0.0
medium

Snyk CVSS

    Attack Complexity Low
    Integrity High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.05% (15th percentile)
Expand this section
NVD
6.5 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-HEX-POW-5905722
  • published 19 Sep 2023
  • disclosed 18 Sep 2023
  • credit Giancarlo França

How to fix?

Upgrade pow to version 1.0.34 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Certificate Expiration via the Pow.Store.Backend.MnesiaCache function. An attacker can hijack sessions as expired keys are not being invalidated correctly on startup.

Workaround

This vulnerability can be mitigated by manually invalidating expired keys, including all expired sessions.