high7.5
CVE-2016-1902
Symfony Cryptographic Vulnerability
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | symfony/security-core | >= 2.4.0, < 2.6.13 | 2.6.13 |
| composer | symfony/security | >= 2.3.0, < 2.3.37 | 2.3.37 |
| composer | symfony/symfony | >= 2.3.0, < 2.3.37 | 2.3.37 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | Version 8.0 |
| Sensiolabs | Symfony | through 2.3.36 Versions 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails
- http://www.debian.org/security/2016/dsa-3588
- https://github.com/symfony/symfony/pull/17359
- https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/
- https://github.com/advisories/GHSA-jjx5-fq5g-8xpc
- https://nvd.nist.gov/vuln/detail/CVE-2016-1902
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-core/CVE-2016-1902.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2016-1902.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2016-1902.yaml
- https://symfony.com/cve-2016-1902