GitHub Advisoryadvisory · Go

GHSA-rmw5-xpg9-jr29 Use of Cryptographically Weak Pseudo-Random Number Generator in Rclone

HIGH Published 2021-06-10 Modified 2022-04-27 Official page ↗
Aliases
CVE-2020-28924
Ecosystem
Go
Packages
github.com/rclone/rclone
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-331, CWE-338
Reviewed
2021-06-09

Affected packages

• Go github.com/rclone/rclone: < 1.53.3 → fixed in 1.53.3

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.

Related

Alias · CVE (1)

  • CVE-2020-28924 An issue was discovered in Rclone before 1.53.3. vulnerability

Weakness · CWE (2)

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

References