CVE-2013-4751: Symfony/validator Symfony CollectionCascaded And CollectionCascadedDeeply Fields Vulnerability
HIGHCVE-2013-4751 is a HIGH (CVSS 8.1) symfony collectioncascaded and collectioncascadeddeeply fields vulnerability (CWE-20: Improper Input Validation) affecting Symfony/validator libraries in the Packagist ecosystem. The issue involves symfony collectioncascaded and collectioncascadeddeeply fields security bypass. Remediation is available by upgrading affected packages to version 2.0.24, 2.1.12, 2.2.5, 2.3.3.
CVE-2013-4751 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2013-4751
To remediate this vulnerability, upgrade all affected Symfony/validator 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/validator to 2.0.24
Upgrade symfony/validator to 2.1.12
Upgrade symfony/validator to 2.2.5
Upgrade symfony/validator to 2.3.3
Upgrade symfony/symfony to 2.0.24
Upgrade symfony/symfony to 2.1.12
Upgrade symfony/symfony to 2.2.5
Upgrade symfony/symfony to 2.3.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for symfony/validator
How to Check if You Are Affected
To determine whether your application is affected by CVE-2013-4751, inspect your project dependencies for Symfony/validator:
inspect dependencies for symfony/validator
Analyze the terminal output to locate any version of Symfony/validator in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.24), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Symfony/validator, 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
CVE-2013-4751 Affected Symfony/validator Versions
8 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
symfony/validator
|
Packagist |
≥ 2.0.0
< 2.0.24
|
2.0.24
|
|
symfony/validator
|
Packagist |
≥ 2.1.0
< 2.1.12
|
2.1.12
|
|
symfony/validator
|
Packagist |
≥ 2.2.0
< 2.2.5
|
2.2.5
|
|
symfony/validator
|
Packagist |
≥ 2.3.0
< 2.3.3
|
2.3.3
|
|
symfony/symfony
|
Packagist |
≥ 2.0.0
< 2.0.24
|
2.0.24
|
|
symfony/symfony
|
Packagist |
≥ 2.1.0
< 2.1.12
|
2.1.12
|
|
symfony/symfony
|
Packagist |
≥ 2.2.0
< 2.2.5
|
2.2.5
|
|
symfony/symfony
|
Packagist |
≥ 2.3.0
< 2.3.3
|
2.3.3
|
References
Frequently Asked Questions
What is CVE-2013-4751?
Which Symfony/validator versions are affected?
What version fixes CVE-2013-4751?
Is symfony/validator affected?
Is symfony/symfony affected?
What is the CVSS score of CVE-2013-4751?
What CWE is associated with CVE-2013-4751?
How can I check Packagist dependencies for CVE-2013-4751?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q8j7-fjh7-25v5",
"modified" : "2023-08-17T22:38:30Z",
"published" : "2022-05-05T00:28:58Z",
"aliases" : [ "CVE-2013-4751" ],
"summary" : "Symfony collectionCascaded and collectionCascadedDeeply fields security bypass",
"details" : "When using the Validator component, if `Symfony\\\\Component\\\\Validator\\\\Mapping\\\\Cache\\\\ApcCache` is enabled (or any other cache implementing `Symfony\\\\Component\\\\Validator\\\\Mapping\\\\Cache\\\\CacheInterface`), some information is lost during serialization (the `collectionCascaded` and the `collectionCascadedDeeply` fields).\n\nAs a consequence, arrays or traversable objects stored in fields using the `@Valid` constraint are not traversed by the validator as soon as the validator configuration is loaded from the cache.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/validator"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.0.24"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/validator"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0"
}, {
"fixed" : "2.1.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/validator"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.2.0"
}, {
"fixed" : "2.2.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/validator"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0"
}, {
"fixed" : "2.3.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.0.24"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0"
}, {
"fixed" : "2.1.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.2.0"
}, {
"fixed" : "2.2.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0"
}, {
"fixed" : "2.3.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-4751"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-4751"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/86364"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2013-4751.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/validator/CVE-2013-4751.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/symfony/validator"
}, {
"type" : "WEB",
"url" : "https://symfony.com/blog/security-releases-symfony-2-0-24-2-1-12-2-2-5-and-2-3-3-released"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200228181137/http://www.securityfocus.com/bid/61709"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2013-August/114380.html"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2013-August/114436.html"
}, {
"type" : "WEB",
"url" : "http://symfony.com/blog/security-releases-symfony-2-0-24-2-1-12-2-2-5-and-2-3-3-released"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-17T22:38:30Z",
"nvd_published_at" : "2019-11-01T13:15:00Z"
}
}