Skip to main content
VulnerabilityPublished Updated

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

Affects rotpSource GCVE Database

0
Compare

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

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Mar 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
RubyGemsrotpAffected
  • >=6.2.1 <6.3.0
Fixed in
  • 6.3.0

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.

References

Community reviews

Loading reviews…