Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. symfony/symfony
  4. ›
  5. GHSA-mmcv-fvq8-r9x3

GHSA-mmcv-fvq8-r9x3: Symfony XML decoding attack vector through external entities

May 30, 2024

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.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/2012-02-24.yaml
  • github.com/advisories/GHSA-mmcv-fvq8-r9x3
  • github.com/symfony/symfony
  • github.com/symfony/symfony/commit/3e64d36cbdc34acaa82e0e6318112cd2eacb6fec
  • symfony.com/blog/security-release-symfony-2-0-11-released

Code Behaviors & Features

Detect and mitigate GHSA-mmcv-fvq8-r9x3 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 before 2.0.11

Fixed versions

  • 2.0.11

Solution

Upgrade to version 2.0.11 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

packagist/symfony/symfony/GHSA-mmcv-fvq8-r9x3.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 12 Dec 2025 12:18:59 +0000.