{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-28862","id":"CVE-2024-28862","title":"ROTP 6.2.2 and 6.2.1 has 0666 permissions for the .rb files.","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.","descriptionLong":"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":"2024-03-15T23:44:06.416Z","updated":"2026-10-28T02:31:10.911772161Z","reserved":"2024-03-11T22:45:07.686Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["mdp rotp"],"affectedProducts":[{"vendor":"mdp","product":"rotp","defaultStatus":null,"versions":[{"version":"= 6.2.2","status":"affected"},{"version":"= 6.2.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"rotp","purl":"pkg:gem/rotp","ranges":[">=6.2.1 <6.3.0"],"fixed":["6.3.0"],"advisory":"GHSA-x2h8-qmj4-g62f"}],"cwes":["CWE-276"],"aliases":["GHSA-x2h8-qmj4-g62f"],"references":[{"url":"https://github.com/mdp/rotp/security/advisories/GHSA-x2h8-qmj4-g62f","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28862.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28862","tags":["advisory"]},{"url":"https://github.com/mdp/rotp","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rotp/CVE-2024-28862.yml","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00176,"epssPercentile":0.0725,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-28862","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28862","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-28862","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x2h8-qmj4-g62f","ok":true,"note":"GHSA-x2h8-qmj4-g62f"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-28862","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}