Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rotp
  4. ›
  5. CVE-2024-28862

CVE-2024-28862: ROTP 6.2.2 and 6.2.1 has 0666 permissions for the .rb files.

March 18, 2024

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.

References

  • github.com/advisories/GHSA-x2h8-qmj4-g62f
  • github.com/mdp/rotp
  • github.com/mdp/rotp/security/advisories/GHSA-x2h8-qmj4-g62f
  • nvd.nist.gov/vuln/detail/CVE-2024-28862

Code Behaviors & Features

Detect and mitigate CVE-2024-28862 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.2.1 before 6.3.0

Fixed versions

  • 6.3.0

Solution

Upgrade to version 6.3.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-276: Incorrect Default Permissions

Source file

gem/rotp/CVE-2024-28862.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:12 +0000.