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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.04% (15th 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-RUBY-DEVISEINVITABLE-6256314
  • published21 Feb 2024
  • disclosed20 Feb 2024
  • creditRobert Cantaragiu

Introduced: 20 Feb 2024

CVE-2023-48220  (opens in a new tab)
CWE-672  (opens in a new tab)

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.

CVSS Scores

version 3.1