ADVISORIES

GitHub Advisory Database

GHSA-jjx5-fq5g-8xpc

Symfony Cryptographic Vulnerability

Details

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

EcosystemPackageAffected versions
Packagistsymfony/security-core
From 2.4.0 before 2.6.13 (fixed in 2.6.13)
Packagistsymfony/security-core
From 2.7.0 before 2.7.9 (fixed in 2.7.9)
Packagistsymfony/security
From 2.3.0 before 2.3.37 (fixed in 2.3.37)
Packagistsymfony/security
From 2.4.0 before 2.6.13 (fixed in 2.6.13)
Packagistsymfony/security
From 2.7.0 before 2.7.9 (fixed in 2.7.9)
Packagistsymfony/symfony
From 2.3.0 before 2.3.37 (fixed in 2.3.37)
Packagistsymfony/symfony
From 2.4.0 before 2.6.13 (fixed in 2.6.13)
Packagistsymfony/symfony
From 2.7.0 before 2.7.9 (fixed in 2.7.9)

References