GHSA-73RF-6MRF-759Q

Vulnerability from github – Published: 2019-03-19 18:03 – Updated: 2023-01-23 20:46
VLAI?
Summary
devise Time-of-check Time-of-use Race Condition vulnerability
Details

Devise ruby gem before 4.6.0 when the lockable module is used is vulnerable to a time-of-check time-of-use (TOCTOU) race condition due to increment_failed_attempts within the Devise::Models::Lockable class not being concurrency safe.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "devise"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.6.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2019-5421"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-367"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:21:17Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
  },
  "details": "Devise ruby gem before 4.6.0 when the `lockable` module is used is vulnerable to a time-of-check time-of-use (TOCTOU) race condition due to `increment_failed_attempts` within the `Devise::Models::Lockable` class not being concurrency safe.",
  "id": "GHSA-73rf-6mrf-759q",
  "modified": "2023-01-23T20:46:50Z",
  "published": "2019-03-19T18:03:25Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-5421"
    },
    {
      "type": "WEB",
      "url": "https://github.com/plataformatec/devise/issues/4981"
    },
    {
      "type": "WEB",
      "url": "https://github.com/plataformatec/devise/pull/4996"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/plataformatec/devise"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "devise Time-of-check Time-of-use Race Condition vulnerability"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…