GHSA-mmcv-fvq8-r9x3: Symfony/symfony Symfony XML Decoding Attack Vector Vulnerability
CRITICALGHSA-mmcv-fvq8-r9x3 is a CRITICAL (CVSS 9.8) symfony xml decoding attack vector vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Symfony/symfony libraries in the Packagist ecosystem. The issue involves symfony xml decoding attack vector through external entities. Remediation is available by upgrading affected packages to version 2.0.11.
GHSA-mmcv-fvq8-r9x3 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix GHSA-mmcv-fvq8-r9x3
To remediate this vulnerability, upgrade all affected Symfony/symfony dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade symfony/symfony to 2.0.11
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for symfony/symfony
How to Check if You Are Affected
To determine whether your application is affected by GHSA-mmcv-fvq8-r9x3, inspect your project dependencies for Symfony/symfony:
inspect dependencies for symfony/symfony
Analyze the terminal output to locate any version of Symfony/symfony in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.11), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Symfony/symfony, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-mmcv-fvq8-r9x3 Affected Symfony/symfony Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
symfony/symfony
|
Packagist |
≥ 2.0.0
< 2.0.11
|
2.0.11
|
References
Frequently Asked Questions
What is GHSA-mmcv-fvq8-r9x3?
Which Symfony/symfony versions are affected?
What version fixes GHSA-mmcv-fvq8-r9x3?
Is symfony/symfony affected?
What is the CVSS score of GHSA-mmcv-fvq8-r9x3?
What CWE is associated with GHSA-mmcv-fvq8-r9x3?
How can I check Packagist dependencies for GHSA-mmcv-fvq8-r9x3?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mmcv-fvq8-r9x3",
"modified" : "2024-05-30T12:17:20Z",
"published" : "2024-05-30T12:17:20Z",
"aliases" : [ ],
"summary" : "Symfony XML decoding attack vector through external entities",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.0.11"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/commit/3e64d36cbdc34acaa82e0e6318112cd2eacb6fec"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/2012-02-24.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/symfony/symfony"
}, {
"type" : "WEB",
"url" : "https://symfony.com/blog/security-release-symfony-2-0-11-released"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-30T12:17:20Z",
"nvd_published_at" : null
}
}