VDB
Sign up
CRITICAL9.8

GHSA-w4rc-rx25-8m86

Improper Input Validation in Symfony

Quick fix

GHSA-w4rc-rx25-8m86 — symfony/symfony: upgrade to the fixed version with the command below.

composer require symfony/symfony:^4.2.12

Details

An issue was discovered in Symfony before 4.2.12 and 4.3.x before 4.3.8. The VarExport component incorrectly escapes strings, allowing some specially crafted ones to escalate to execution of arbitrary PHP code. This is related to symfony/var-exporter.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/symfony/symfony
Introduced in: 4.2.0Fixed in: 4.2.12
Fixcomposer require symfony/symfony:^4.2.12
Packagist/symfony/symfony
Introduced in: 4.3.0Fixed in: 4.3.8
Fixcomposer require symfony/symfony:^4.3.8
Packagist/symfony/var-exporter
Introduced in: 4.2.0Fixed in: 4.2.12
Fixcomposer require symfony/var-exporter:^4.2.12
Packagist/symfony/var-exporter
Introduced in: 4.3.0Fixed in: 4.3.8
Fixcomposer require symfony/var-exporter:^4.3.8

References