CVEfocus › CVE database › CVE-2024-28862

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

CVSS 5.3 MediumEPSS 0.2% (higher than 9% of CVEs)Published 2024-03-15Updated 2024-08-21Assigner: GitHub_M

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.

CWE-276

What to do

Fixed builds are available from RubyGems: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04ruby-rotpNot affected
vulnerable_code_not_present
Ubuntu 22.04ruby-rotpNot affected
vulnerable_code_not_present
Ubuntu 20.04ruby-rotpNot affected
vulnerable_code_not_present
RubyGems libraryrotpFixed6.3.0GHSA-x2h8-qmj4-g62f

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.