CVE-2024-28862
MEDIUM 5.5CVSS 3.1ROTP 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
- 16 Mar 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-276
- Also known as
- GHSA-x2h8-qmj4-g62f
- Sources
- NVDJSONOSV GHSA-x2h8-qmj4-g62fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rotp_project | rotpcpe:2.3:a:rotp_project:rotp:*:*:*:*:*:ruby:*:* |
>= 6.2.1, < 6.3.0 | 6.3.0 |
| OSV | RubyGems | rotp | >= 6.2.1, < 6.3.0 | 6.3.0 |
References
- https://github.com/mdp/rotp/security/advisories/GHSA-x2h8-qmj4-g62f · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-28862 · ADVISORY
- https://github.com/mdp/rotp · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rotp/CVE-2024-28862.yml · WEB
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 16 Mar 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Mar 2024)