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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.06% (25th percentile)

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 IDSNYK-HEX-POW-5905722
  • published19 Sept 2023
  • disclosed18 Sept 2023
  • creditGiancarlo França

Introduced: 18 Sep 2023

CVE-2023-42446  (opens in a new tab)
CWE-298  (opens in a new tab)

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.

CVSS Scores

version 3.1