CVE-2020-28924 Use of Cryptographically Weak Pseudo-Random Number Generator in Rclone
Weak random number generation in Rclone produces low-entropy passwords, allowing attackers to decrypt encrypted data via dictionary attacks.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-28924?
CVE-2020-28924 is a high-severity vulnerability in Fedoraproject Fedora, published on 19 Nov 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2020-28924?
4 open source packages ship an affected version, including github.com/rclone/rclone and rclone. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
github.com/rclone/rclone Go | All versions | 1.53.3 |
github.com/rclone/rclone Go | All versions | 1.53.3 |
github.com/rclone/rclone Go | All versions | 1.53.3 |
rclone Bitnami | All versions | 1.53.3 |
Linux distribution packages (5)
rclone SUSE:Package Hub 15 SP1 | All versions | 1.53.3-bp151.4.6.1 |
rclone SUSE:Package Hub 15 SP2 | All versions | 1.53.3-bp152.2.4.11 |
rclone openSUSE:Leap 15.1 | All versions | 1.53.3-lp151.3.6.1 |
rclone openSUSE:Leap 15.2 | All versions | 1.53.3-lp152.2.3.1 |
rclone openSUSE:Tumbleweed | All versions | 1.55.1-1.3 |
Products include Fedoraproject Fedora, Rclone Rclone.
How do I fix CVE-2020-28924?
Upgrade github.com/rclone/rclone to 1.53.3 or later.
Is CVE-2020-28924 being exploited?
There is no known exploitation of CVE-2020-28924 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as BIT-rclone-2020-28924, DEBIAN-CVE-2020-28924, GHSA-rmw5-xpg9-jr29, GO-2022-0878, JLSEC-2026-278, openSUSE-SU-2020:2008-1 and 4 more.