CVE-2024-28862: ROTP 6.2.2 and 6.2.1 has 0666 permissions for the .rb files.
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.
Published Mar 18, 2024 · Updated Dec 5, 2025
Affected packages
rotp
- Ecosystem
- RubyGems
- Affected
- >= 6.2.1, < 6.3.0
- Fixed in
- 6.3.0
- Check
bundle info rotp
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to G-Rath.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
