CVE & CISA-KEV Catalog

CVE-2021-41270

MEDIUMEPSS 70th pctl
6.5
CVSS v3
NVD

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 `@`.

How to fix

Remediation Available
symfonyDebian
Fixed in:4.4.19+dfsg-3CVE-2021-41270
Fixed in:4.4.19+dfsg-3CVE-2021-41270
Fixed in:4.4.19+dfsg-3CVE-2021-41270
php-symfonyUbuntu
Fixed in:3.4.6+dfsg-1ubuntu0.1+esm2USN-5290-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:4.3.8+dfsg-1ubuntu1+esm1USN-5290-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

php-symfony-cacheUbuntu
Fixed in:3.4.6+dfsg-1ubuntu0.1+esm2USN-5290-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:4.3.8+dfsg-1ubuntu1+esm1USN-5290-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

php-symfony-configUbuntu
Fixed in:3.4.6+dfsg-1ubuntu0.1+esm2USN-5290-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:4.3.8+dfsg-1ubuntu1+esm1USN-5290-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

php-symfony-consoleUbuntu
Fixed in:3.4.6+dfsg-1ubuntu0.1+esm2USN-5290-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:4.3.8+dfsg-1ubuntu1+esm1USN-5290-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

php-symfony-debugUbuntu
Fixed in:3.4.6+dfsg-1ubuntu0.1+esm2USN-5290-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:4.3.8+dfsg-1ubuntu1+esm1USN-5290-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

php-symfony-processUbuntu
Fixed in:3.4.6+dfsg-1ubuntu0.1+esm2USN-5290-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:4.3.8+dfsg-1ubuntu1+esm1USN-5290-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

php-symfony-property-accessUbuntu
Fixed in:3.4.6+dfsg-1ubuntu0.1+esm2USN-5290-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:4.3.8+dfsg-1ubuntu1+esm1USN-5290-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

php-symfony-property-infoUbuntu
Fixed in:3.4.6+dfsg-1ubuntu0.1+esm2USN-5290-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

php-symfony-security-bundleUbuntu
Fixed in:3.4.6+dfsg-1ubuntu0.1+esm2USN-5290-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:4.3.8+dfsg-1ubuntu1+esm1USN-5290-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

php-symfony-security-coreUbuntu
Fixed in:3.4.6+dfsg-1ubuntu0.1+esm2USN-5290-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:4.3.8+dfsg-1ubuntu1+esm1USN-5290-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

php-symfony-security-guardUbuntu
Fixed in:3.4.6+dfsg-1ubuntu0.1+esm2USN-5290-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:4.3.8+dfsg-1ubuntu1+esm1USN-5290-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

php-symfony-serializerUbuntu
Fixed in:3.4.6+dfsg-1ubuntu0.1+esm2USN-5290-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:4.3.8+dfsg-1ubuntu1+esm1USN-5290-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

php-symfony-var-dumperUbuntu
Fixed in:3.4.6+dfsg-1ubuntu0.1+esm2USN-5290-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:4.3.8+dfsg-1ubuntu1+esm1USN-5290-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

symfonyUbuntu
Fixed in:3.4.6+dfsg-1ubuntu0.1+esm2USN-5290-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:4.3.8+dfsg-1ubuntu1+esm1USN-5290-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

1.35%probability of exploitation in 30 days
70thpercentile

Elevated risk: more likely to be exploited than 70% of all known CVEs.

References

Related Vulnerabilities

Other CWE-1236 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-33256High8.879%--
CVE-2018-11652Critical9.824%-Fix
CVE-2020-36962Critical9.811%--
CVE-2019-12765Critical9.810%--
CVE-2019-14749High8.89.6%-Fix
CVE-2020-9372High7.88.6%-Fix

Common questions

How do I fix CVE-2021-41270?

Published advisories record a fix for 15 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2021-41270 being actively exploited?

Not that we know of. CVE-2021-41270 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.4% is the estimated probability that it will be exploited in the next 30 days. That is higher than 70% of all scored CVEs.

How severe is CVE-2021-41270?

CVE-2021-41270 has a CVSS v3 base score of 6.5, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2021-41270 affect?

Published advisories record a fix for symfony (Debian), php-symfony (Ubuntu), php-symfony-cache (Ubuntu), php-symfony-config (Ubuntu), and 11 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2021-41270
CVE-2021-41270 severity badge

Markdown

[![CVE-2021-41270](https://tridentstack.com/cve/badge/CVE-2021-41270.svg)](https://tridentstack.com/cve/CVE-2021-41270)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-41270"><img src="https://tridentstack.com/cve/badge/CVE-2021-41270.svg" alt="CVE-2021-41270"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.