Symfony Cryptographic Vulnerability
High severity
GitHub Reviewed
Published
May 17, 2022
to the GitHub Advisory Database
•
Updated Feb 8, 2024
Package
Affected versions
>= 2.3.0, < 2.3.37
>= 2.4.0, < 2.6.13
>= 2.7.0, < 2.7.9
Patched versions
2.3.37
2.6.13
2.7.9
>= 2.3.0, < 2.3.37
>= 2.4.0, < 2.6.13
>= 2.7.0, < 2.7.9
2.3.37
2.6.13
2.7.9
Description
Published by the National Vulnerability Database
Jun 1, 2016
Published to the GitHub Advisory Database
May 17, 2022
Reviewed
Jul 31, 2023
Last updated
Feb 8, 2024
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