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

    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 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.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
6.5 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    High
  • Availability (A)
    None
Expand this section

NVD

6.5 medium