CVE-2024-28862: ROTP 6.2.2 and 6.2.1 has 0666 permissions for the .rb files
Affects rotpSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 6.3.0 when convenient.
Data as of 25 Nov 2026, 03:58 UTC
- Patch
- Available – fixed in 6.3.0
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 18 Mar 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade rotp to 6.3.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemsrotp | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in ROTP version 6.3.0, which corrects the file permission settings. Users should upgrade to version 6.3.0 to remediate this vulnerability. If upgrading is not feasible, users should manually correct the file permissions of the .rb files after installation to restrict access appropriately.
Description
The Ruby One Time Password library (ROTP) versions 6.2.1 and 6.2.2 have a vulnerability where .rb files are assigned overly permissive 0666 file permissions by default. This can lead to unauthorized read and write access to these files. The issue is fixed in version 6.3.0. Users unable to upgrade can manually correct file permissions after installation to mitigate the risk.