Skip to content
OpenAdvisories
High · 7.5 CVE-2016-1902 EUVD-2022-4395GHSA-jjx5-fq5g-8xpc

Symfony Cryptographic Vulnerability

Published Jun 1, 2016 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 symfony 2.7.9+dfsg-1 —
Debian 13 symfony 2.7.9+dfsg-1 —
Debian 12 symfony 2.7.9+dfsg-1 —
Debian 8 symfony 2.3.21+dfsg-4+deb8u3 DSA-3588-1

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist symfony/security >= 2.3.0, < 2.3.37 2.3.37 GHSA-jjx5-fq5g-8xpc
Packagist symfony/security >= 2.4.0, < 2.6.13 2.6.13 GHSA-jjx5-fq5g-8xpc
Packagist symfony/security >= 2.7.0, < 2.7.9 2.7.9 GHSA-jjx5-fq5g-8xpc
Packagist symfony/security-core >= 2.4.0, < 2.6.13 2.6.13 GHSA-jjx5-fq5g-8xpc
Packagist symfony/security-core >= 2.7.0, < 2.7.9 2.7.9 GHSA-jjx5-fq5g-8xpc
Packagist symfony/symfony >= 2.3.0, < 2.3.37 2.3.37 GHSA-jjx5-fq5g-8xpc
Packagist symfony/symfony >= 2.4.0, < 2.6.13 2.6.13 GHSA-jjx5-fq5g-8xpc
Packagist symfony/symfony >= 2.7.0, < 2.7.9 2.7.9 GHSA-jjx5-fq5g-8xpc

Advisories 1

References