CVE-2016-1902

high

Description

The nextBytes function in the SecureRandom class in Symfony before 2.3.37, 2.6.x before 2.6.13, and 2.7.x before 2.7.9 does not properly generate random numbers when used with PHP 5.x 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

https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/

https://github.com/symfony/symfony/pull/17359

http://www.debian.org/security/2016/dsa-3588

http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails

Details

Source: Mitre, NVD

Published: 2016-06-01

Updated: 2016-06-03

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

Severity: Medium

CVSS v3

Base Score: 7.5

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

Severity: High