Rapid7 Vulnerability & Exploit Database

Ubuntu: USN-5290-1 (CVE-2021-41270): Symfony vulnerabilities

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Ubuntu: USN-5290-1 (CVE-2021-41270): Symfony vulnerabilities

Severity
4
CVSS
(AV:N/AC:L/Au:S/C:P/I:N/A:N)
Published
11/24/2021
Created
03/29/2023
Added
03/22/2023
Modified
05/01/2023

Description

Symfony/Serializer handles serializing and deserializing data structures for Symfony, a PHP framework for web and console applications and a set of reusable PHP components. Symfony versions 4.1.0 before 4.4.35 and versions 5.0.0 before 5.3.12 are vulnerable to CSV injection, also known as formula injection. In Symfony 4.1, maintainers added the opt-in `csv_escape_formulas` option in the `CsvEncoder`, to prefix all cells starting with `=`, `+`, `-` or `@` with a tab `\t`. Since then, OWASP added 2 chars in that list: Tab (0x09) and Carriage return (0x0D). This makes the previous prefix char (Tab `\t`) part of the vulnerable characters, and OWASP suggests using the single quote `'` for prefixing the value. Starting with versions 4.4.34 and 5.3.12, Symfony now follows the OWASP recommendations and uses the single quote `'` to prefix formulas and add the prefix to cells starting by `\t`, `\r` as well as `=`, `+`, `-` and `@`.

Solution(s)

  • ubuntu-upgrade-php-symfony
  • ubuntu-upgrade-php-symfony-cache
  • ubuntu-upgrade-php-symfony-config
  • ubuntu-upgrade-php-symfony-console
  • ubuntu-upgrade-php-symfony-debug
  • ubuntu-upgrade-php-symfony-process
  • ubuntu-upgrade-php-symfony-property-access
  • ubuntu-upgrade-php-symfony-property-info
  • ubuntu-upgrade-php-symfony-security-bundle
  • ubuntu-upgrade-php-symfony-security-core
  • ubuntu-upgrade-php-symfony-security-guard
  • ubuntu-upgrade-php-symfony-serializer
  • ubuntu-upgrade-php-symfony-var-dumper

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;