Operation on a Resource after Expiration or Release Affecting devise_invitable package, versions >=0.4.0, <2.0.9


0.0
medium

Snyk CVSS

    Attack Complexity High
    Privileges Required High
    User Interaction Required
    Confidentiality High
    Integrity High

    Threat Intelligence

    EPSS 0.04% (13th 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-RUBY-DEVISEINVITABLE-6256314
  • published 21 Feb 2024
  • disclosed 20 Feb 2024
  • credit Robert Cantaragiu

How to fix?

Upgrade devise_invitable to version 2.0.9 or higher.

Overview

Affected versions of this package are vulnerable to Operation on a Resource after Expiration or Release due to the password reset functionality. An attacker can accept an invitation for an unlimited amount of time by exploiting the lack of validation for the pending invitation's expiry period.

Note:

This is only exploitable if the invite_for configuration is set and not respected.