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

Not scored Published

An attacker can read arbitrary files from the server via XML external entity injection in the Symfony XMLEncoder component.

Exploited in the wild
Not known
Login needed
Not stated
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-mmcv-fvq8-r9x3?

GHSA-mmcv-fvq8-r9x3 is a vulnerability in symfony/symfony, published on 30 May 2024. It can be exploited over the network, with no action from the victim.

Official 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.

Which versions are affected by GHSA-mmcv-fvq8-r9x3?

2 open source packages ship an affected version, including symfony/symfony.

PackageAffectedFixed in
symfony/symfony PackagistFrom 2.0.02.0.11
symfony/symfony PackagistFrom 2.0.02.0.11

How do I fix GHSA-mmcv-fvq8-r9x3?

Upgrade symfony/symfony to 2.0.11 or later.

Is GHSA-mmcv-fvq8-r9x3 being exploited?

There is no known exploitation of GHSA-mmcv-fvq8-r9x3 in the wild and no public exploit code.

Sources

Is GHSA-mmcv-fvq8-r9x3 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free