HIGH 7.5 Go

Use of Cryptographically Weak Pseudo-Random Number Generator in Rclone

GHSA-rmw5-xpg9-jr29 · BIT-rclone-2020-28924 · CVE-2020-28924 · GO-2022-0878

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

An issue was discovered in Rclone before 1.53.3. Due to the use of a weak random number generator, the password generator has been producing weak passwords with much less entropy than advertised. The suggested passwords depend deterministically on the time the second rclone was started. This limits the entropy of the passwords enormously. These passwords are often used in the crypt backend for encryption of data. It would be possible to make a dictionary of all possible passwords with about 38 million entries per password length. This would make decryption of secret material possible with a plausible amount of effort. NOTE: all passwords generated by affected versions should be changed.

Ready to move

Start Securing

Free, no credit card | First findings in minutes