Vulnerability · Published Mar 15, 2024 · Assigned by GitHub_M

CVE-2024-28862ROTP 6.2.2 and 6.2.1 has 0666 permissions for the .rb files.

Medium 5.3

In plain English

A medium-severity incorrect default permissions in rotp from mdp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.2%top 92.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
RubyGemsrotp6.3.0GHSA-x2h8-qmj4-g62f

Affected products (as reported)

VendorProductVersions
mdp rotp = 6.2.2= 6.2.1

Weakness: CWE-276 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

References