Strong::Random versions through 0.96 for Perl allow every later rand output to be predicted from three earlier ones
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| unaffected |
|
No data.
No data.
No data available yet.
Vendor Workaround
Replace Strong::Random with a cryptographically secure source such as Crypt::URandom or Crypt::SysRandom.
No CVSS v4.0
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Strong::Random versions through 0.96 for Perl allow every later rand output to be predicted from three earlier ones. The generator keeps its state in a single number. Each call multiplies the state by a factor derived from it, and the returned digits encode that factor, so three consecutive outputs determine the state however the generator was seeded. Outputs are also biased: the first digit after the decimal point is never zero, so rand(256) never returns 1 to 24. An attacker who sees three consecutive outputs can predict the tokens, passwords or key bytes that the same object later issues to other users. | |
| Title | Strong::Random versions through 0.96 for Perl allow every later rand output to be predicted from three earlier ones | |
| Weaknesses | CWE-327 | |
| References |
|
No data.
No data.
No data.
No data.
No data.