Skip to content

← Public intelligence

Packagist package

symfony/serializer

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Critical, CVSS 9.8PackagistPublished

    Symfony XML decoding attack vector through external entities

    GHSA-j68w-pg49-f6vx

    Affected
    • Packagist symfony/serializer >= 2.0.0, < 2.0.11
    Fixed in
    2.0.11· Vendor fix available
    Issue
    The XMLEncoder component of Symfony 2.0.x fails to disable external entities when parsing XML. In the Symfony2 framework the XML class may be used to deserialize objects or as part of a client/server API. By using external entities it is possible to include arbitrary files from the file system.

    Recommended action: Upgrade to 2.0.11 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 6.5PackagistPublished

    CSV Injection in symfony/serializer

    CVE-2021-41270 · GHSA-2xhg-w2g5-w95x

    Affected
    • Packagist symfony/serializer >= 5.0.0, < 5.3.12; >= 4.1.0, < 4.4.35
    Fixed in
    5.3.124.4.35· Vendor fix available
    Issue
    ----------- CSV Injection, also known as Formula Injection, occurs when websites embed untrusted input inside CSV files. When a spreadsheet program opens a CSV, any cell starting with = is interpreted by the software as a formula and could be abused by an attacker. In Symfony 4.1, we've added the opt-in csvescapeformulas option in CsvEncoder, to prefix all cells starting by =, +, - or @ by a tab \t. Since then, OWASP added 2 chars in that list: - Tab (0x09) - Carriage return (0x0D) This makes our previous prefix char (Tab \t) part of the vulnerable characters, and OWASP suggests using the single quote ' for prefixing the value. Resolution ---------- Symfony now follows the OWASP recommendations and use the single quote ' to prefix formulas and adds the prefix to cells starting by \t, \r as well as =, +, - and @. The patch for this issue is available here for branch 4.4. Credits ------- We would like to thank Jake Barwell for reporting the issue and Jérémy Derussé for…

    Recommended action: Upgrade to 5.3.12 or 4.4.35 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →