{"id":"CVE-2024-28862","published":"2024-03-15T23:44:06Z","modified":"2024-08-21T20:41:33Z","title":"ROTP 6.2.2 and 6.2.1 has 0666 permissions for the .rb files.","vendor":"mdp","product":"rotp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00176,"percentile":0.07318,"provenance":"source"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"references":[{"url":"https://github.com/mdp/rotp/security/advisories/GHSA-x2h8-qmj4-g62f","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.2,"factors":[{"name":"EPSS percentile","points":1.46},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"mdp","affectedVersions":[{"vendor":"mdp","product":"rotp","versions":["= 6.2.2","= 6.2.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-21T20:13:54.301330Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"rotp","vulnerableRanges":[">=6.2.1, <6.3.0"],"patched":["6.3.0"],"from":["GHSA-x2h8-qmj4-g62f"],"provenance":"source"}],"summary":{"text":"The ROTP (Ruby One Time Password) library by mdp has overly permissive default file permissions (0666) on its .rb files in versions 6.2.1 and 6.2.2. An attacker with local access and low privileges could read or modify these files, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:05Z"},"euvd":{"id":"EUVD-2024-1031","exploited":false,"provenance":"source"}}