The Ruby One Time Password library (ROTP) versions 6.2.1 and 6.2.2 have a vulnerability where .rb files are assigned overly permissive 0666 file permissions by default. This can lead to unauthorized read and write access to these files. The issue is fixed in version 6.3.0. Users unable to upgrade can manually correct file permissions after installation to mitigate the risk.