Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/rclone/rclone
  4. ›
  5. CVE-2020-28924

CVE-2020-28924: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

June 10, 2021 (updated July 9, 2021)

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.

References

  • github.com/advisories/GHSA-rmw5-xpg9-jr29
  • github.com/rclone/rclone/issues/4783
  • nvd.nist.gov/vuln/detail/CVE-2020-28924

Code Behaviors & Features

Detect and mitigate CVE-2020-28924 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.53.3

Fixed versions

  • 1.53.3

Solution

Upgrade to version 1.53.3 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-331: Insufficient Entropy
  • CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Source file

go/github.com/rclone/rclone/CVE-2020-28924.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:44 +0000.