GitHub Advisoryadvisory · Packagist

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

CRITICAL Published 2024-05-30 Modified 2024-05-30 Official page ↗
Ecosystem
Packagist
Packages
symfony/symfony
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-502
Reviewed
2024-05-30

Affected packages

• Packagist symfony/symfony: >= 2.0.0, < 2.0.11 → fixed in 2.0.11

Description

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.

Related

Weakness · CWE (1)

  • CWE-502 Deserialization of Untrusted Data weakness

References