CVE-2020-28924 Use of Cryptographically Weak Pseudo-Random Number Generator in Rclone

High 7.5 Published Updated

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.

Weakness: CWE-338, CWE-331

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.

PackageAffectedFixed in
github.com/rclone/rclone GoAll versions1.53.3
github.com/rclone/rclone GoAll versions1.53.3
github.com/rclone/rclone GoAll versions1.53.3
rclone BitnamiAll versions1.53.3
Linux distribution packages (5)
rclone SUSE:Package Hub 15 SP1All versions1.53.3-bp151.4.6.1
rclone SUSE:Package Hub 15 SP2All versions1.53.3-bp152.2.4.11
rclone openSUSE:Leap 15.1All versions1.53.3-lp151.3.6.1
rclone openSUSE:Leap 15.2All versions1.53.3-lp152.2.3.1
rclone openSUSE:TumbleweedAll versions1.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.

All Fedoraproject Fedora vulnerabilities

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.

Is CVE-2020-28924 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free