Advisory

GHSA-x2h8-qmj4-g62f

Also known as: CVE-2024-28862

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-03-18 17:21 UTC
Modified
2025-12-05 18:51 UTC

Affected packages and fixes

rotp

RubyGems · All systems

Affected

  • introduced 6.2.1, fixed 6.3.0 (ecosystem)

Fixed versions

6.3.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences