GHSA-X2H8-QMJ4-G62F

Vulnerability from github – Published: 2024-03-18 17:21 – Updated: 2025-12-05 18:32
VLAI?
Summary
ROTP 6.2.2 and 6.2.1 has 0666 permissions for the .rb files.
Details

The Ruby One Time Password library (ROTP) is an open source library for generating and validating one time passwords. Affected versions had overly permissive default permissions. Users should patch to version 6.3.0. Users unable to patch may correct file permissions after installation.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "rotp"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.2.1"
            },
            {
              "fixed": "6.3.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2024-28862"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-276"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2024-03-18T17:21:46Z",
    "nvd_published_at": "2024-03-16T00:15:07Z",
    "severity": "MODERATE"
  },
  "details": "The Ruby One Time Password library (ROTP) is an open source library for generating and validating one time passwords. Affected versions had overly permissive default permissions. Users should patch to version 6.3.0. Users unable to patch may correct file permissions after installation.",
  "id": "GHSA-x2h8-qmj4-g62f",
  "modified": "2025-12-05T18:32:40Z",
  "published": "2024-03-18T17:21:46Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/mdp/rotp/security/advisories/GHSA-x2h8-qmj4-g62f"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-28862"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/mdp/rotp"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rotp/CVE-2024-28862.yml"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ROTP 6.2.2 and 6.2.1 has 0666 permissions for the .rb files."
}


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…