Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. paragonie/random_compat
  4. ›
  5. GMS-2015-15

GMS-2015-15: Insecure CSPRNG

July 8, 2015

random_compat uses openssl_random_pseudo_bytes() but this Cryptographically Secure Pseudorandom Number Generator (CSPRNG) is insecure.

References

  • github.com/FriendsOfPHP/security-advisories/pull/146
  • github.com/paragonie/random_compat/issues/5

Code Behaviors & Features

Detect and mitigate GMS-2015-15 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.0.0

Fixed versions

  • v2.0.0

Solution

Upgrade to version v2.0.0 or above.

Source file

packagist/paragonie/random_compat/GMS-2015-15.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:17 +0000.