Skip to content
porro

Advisories  /  composer  /  symfony/symfony  /  CVE-2021-41270

MODERATE6.5 Composer

CSV Injection in symfony/serializer (CVE-2021-41270)

CVE-2021-41270 GHSA-2xhg-w2g5-w95x Published 15 Nov 2021

Affects 2 packages. Each has a fixed release.

$ composer require symfony/symfony:^4.4.35
$ composer require symfony/symfony:^5.3.12
$ composer require symfony/serializer:^4.4.35
$ composer require symfony/serializer:^5.3.12

Which versions are affected

Package Affected Fixed in
symfony/symfony ≥ 4.1.0, < 4.4.35≥ 5.0.0, < 5.3.12 4.4.355.3.12
symfony/serializer ≥ 4.1.0, < 4.4.35≥ 5.0.0, < 5.3.12 4.4.355.3.12

Check a site from its project folder: composer show symfony/symfony shows the installed version. Or paste the lock file into the lock file checker to check every package at once.

Timeline

  1. Advisory published, with a fix

Questions

Which version of symfony/symfony is safe from CVE-2021-41270?

5.3.12 and later. Versions affected: ≥ 4.1.0, < 4.4.35, ≥ 5.0.0, < 5.3.12.

Which version of symfony/serializer is safe from CVE-2021-41270?

5.3.12 and later. Versions affected: ≥ 4.1.0, < 4.4.35, ≥ 5.0.0, < 5.3.12.