Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. symfony/security
  4. ›
  5. CVE-2016-1902

CVE-2016-1902: Cryptographic Issues

June 1, 2016 (updated June 3, 2016)

The nextBytes function in the SecureRandom class in Symfony does not properly generate random numbers when used with PHP without the paragonie/random_compat library and the openssl_random_pseudo_bytes function fails, which makes it easier for attackers to defeat cryptographic protection mechanisms via unspecified vectors.

References

  • symfony.com/cve-2016-1902

Code Behaviors & Features

Detect and mitigate CVE-2016-1902 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.3.0 before 2.3.37, all versions starting from 2.4.0 before 2.6.13, all versions starting from 2.7.0 before 2.7.9

Fixed versions

  • 2.3.37
  • 2.6.13
  • 2.7.9

Solution

Upgrade to versions 2.3.37, 2.6.13, 2.7.9 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-310

Source file

packagist/symfony/security/CVE-2016-1902.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:45 +0000.