Advisory

GHSA-rmw5-xpg9-jr29

Also known as: BIT-rclone-2020-28924, CVE-2020-28924, GO-2022-0878

Summary

Use of Cryptographically Weak Pseudo-Random Number Generator in Rclone

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-06-10 17:23 UTC
Modified
2024-08-21 15:58 UTC

Affected packages and fixes

github.com/rclone/rclone

Go · All systems

Affected

  • introduced 0, fixed 1.53.3 (semver)

Fixed versions

1.53.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences