VDB
Sign up
HIGH7.5

GHSA-jjx5-fq5g-8xpc

Symfony Cryptographic Vulnerability

Quick fix

GHSA-jjx5-fq5g-8xpc — symfony/security-core: upgrade to the fixed version with the command below.

composer require symfony/security-core:^2.6.13

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/symfony/security-core
Introduced in: 2.4.0Fixed in: 2.6.13
Fixcomposer require symfony/security-core:^2.6.13
Packagist/symfony/security-core
Introduced in: 2.7.0Fixed in: 2.7.9
Fixcomposer require symfony/security-core:^2.7.9
Packagist/symfony/security
Introduced in: 2.3.0Fixed in: 2.3.37
Fixcomposer require symfony/security:^2.3.37
Packagist/symfony/security
Introduced in: 2.4.0Fixed in: 2.6.13
Fixcomposer require symfony/security:^2.6.13
Packagist/symfony/security
Introduced in: 2.7.0Fixed in: 2.7.9
Fixcomposer require symfony/security:^2.7.9
Packagist/symfony/symfony
Introduced in: 2.3.0Fixed in: 2.3.37
Fixcomposer require symfony/symfony:^2.3.37
Packagist/symfony/symfony
Introduced in: 2.4.0Fixed in: 2.6.13
Fixcomposer require symfony/symfony:^2.6.13
Packagist/symfony/symfony
Introduced in: 2.7.0Fixed in: 2.7.9
Fixcomposer require symfony/symfony:^2.7.9

References