ArchLinux: 202011-17: rclone: private key recovery
Summary
An issue was discovered in rclone 1.49.0 up to 1.53.2. 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 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.
Resolution
Upgrade to 1.53.3-1.
# pacman -Syu "rclone>=1.53.3-1"
The problem has been fixed upstream in version 1.53.3.
References
https://github.com/rclone/rclone/issues/4783 https://github.com/rclone/rclone/commit/7985df37681f54d013816a4641da4f9b085b3aa5 https://github.com/rclone/passwordcheck https://security.archlinux.org/CVE-2020-28924
Workaround
All passwords generated by rclone 1.49.0 up to 1.53.2 should bechanged. Rclone provides a password checker to find weak passwords as aseparate tool called passwordcheck.