medium5.3
CVE-2024-28862
ROTP 6.2.2 and 6.2.1 has 0666 permissions for the .rb files.
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | rotp | >= 6.2.1, < 6.3.0 | 6.3.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Rotp Project | Rotp | from 6.2.1 before 6.3.0 |