CVE-2024-28862: Ruby OTP Library - Insecure Default Permissions
- Cve: CVE-2024-28862
- Name: Ruby OTP Library - Insecure Default Permissions
- Description: 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.
- Impact: Unauthorized users can access sensitive files, potentially leading to information disclosure or privilege escalation.
- Remediation: Update to version 6.3.0 or correct file permissions after installation.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure, privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00176
- Epss percentile: 0.07137
- Assignee: [email protected]
- Published at: 2024-03-16T00:15:07Z
- Age in days: 983
- Modified at: 2026-06-17T07:21:54Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-28862
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-276 | Incorrect Default Permissions |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/mdp/rotp/security/advisories/GHSA-x2h8-qmj4-g62f | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rotp_project:rotp | >= 6.2.1, < 6.3.0 | no | nvd | /v1/products/rotp_project/rotp |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| mdp/rotp | package, security_advisory | yes | /v1/repositories/mdp/rotp |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts