Insecure Randomness Affecting stormpath/sdk package, versions >=0.0.0


0.0
high

Snyk CVSS

    Attack Complexity Low

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-STORMPATHSDK-72046
  • published 22 Feb 2018
  • disclosed 16 Feb 2016
  • credit Unknown

Introduced: 16 Feb 2016

CVE NOT AVAILABLE CWE-330 Open this link in a new tab

How to fix?

There is no fix versions for stormpath/sdk.

Overview

stormpath/sdk is a complete user management API.

Affected versions of this package are vulnerable to Insecure Randomness.

Details

Computers are deterministic machines, and as such are unable to produce true randomness. Pseudo-Random Number Generators (PRNGs) approximate randomness algorithmically, starting with a seed from which subsequent values are calculated.

There are two types of PRNGs: statistical and cryptographic. Statistical PRNGs provide useful statistical properties, but their output is highly predictable and forms an easy to reproduce numeric stream that is unsuitable for use in cases where security depends on generated values being unpredictable. Cryptographic PRNGs address this problem by generating output that is more difficult to predict. For a value to be cryptographically secure, it must be impossible or highly improbable for an attacker to distinguish between it and a truly random value. In general, if a PRNG algorithm is not advertised as being cryptographically secure, then it is probably a statistical PRNG and should not be used in security-sensitive contexts.

References