GitHub Advisoryadvisory · Packagist

GHSA-j68w-pg49-f6vx Symfony XML decoding attack vector through external entities

CRITICAL Published 2024-05-30 Modified 2024-05-30 Official page ↗
Ecosystem
Packagist
Packages
symfony/serializer
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-611
Reviewed
2024-05-30

Affected packages

• Packagist symfony/serializer: >= 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-611 Improper Restriction of XML External Entity Reference weakness

References