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.12Details
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.12Fix
composer require symfony/symfony:^4.2.12Packagist/symfony/symfony
Introduced in:
4.3.0Fixed in: 4.3.8Fix
composer require symfony/symfony:^4.3.8Packagist/symfony/var-exporter
Introduced in:
4.2.0Fixed in: 4.2.12Fix
composer require symfony/var-exporter:^4.2.12Packagist/symfony/var-exporter
Introduced in:
4.3.0Fixed in: 4.3.8Fix
composer require symfony/var-exporter:^4.3.8References
- https://nvd.nist.gov/vuln/detail/CVE-2019-11325[ADVISORY]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2019-11325.yaml[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/var-exporter/CVE-2019-11325.yaml[WEB]
- https://github.com/symfony/symfony/releases/tag/v4.3.8[WEB]
- https://github.com/symfony/var-exporter/compare/d8bf442...57e00f3[WEB]
- https://symfony.com/blog/cve-2019-11325-fix-escaping-of-strings-in-varexporter[WEB]
- https://symfony.com/blog/symfony-4-3-8-released[WEB]
- https://symfony.com/cve-2019-11325[WEB]