GHSA-rmw5-xpg9-jr29

Suggest an improvement
Source
https://github.com/advisories/GHSA-rmw5-xpg9-jr29
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-rmw5-xpg9-jr29/GHSA-rmw5-xpg9-jr29.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-rmw5-xpg9-jr29
Aliases
Published
2021-06-10T17:23:21Z
Modified
2024-08-21T15:57:31.353506Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2020-11-19T20:15:00Z",
    "cwe_ids": [
        "CWE-331",
        "CWE-338"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-06-09T14:47:19Z"
}
References

Affected packages

Go / github.com/rclone/rclone

Package

Name
github.com/rclone/rclone
View open source insights on deps.dev
Purl
pkg:golang/github.com/rclone/rclone

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.53.3