GitHub Advisoryadvisory · Packagist
GHSA-q8j7-fjh7-25v5 Symfony collectionCascaded and collectionCascadedDeeply fields security bypass
HIGH
Official page ↗
- Aliases
- CVE-2013-4751
- Ecosystem
- Packagist
- Packages
- symfony/validator, symfony/symfony
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-20
- Reviewed
- 2023-08-17
Affected packages
• Packagist symfony/validator: >= 2.0.0, < 2.0.24 → fixed in 2.0.24
• Packagist symfony/validator: >= 2.1.0, < 2.1.12 → fixed in 2.1.12
• Packagist symfony/validator: >= 2.2.0, < 2.2.5 → fixed in 2.2.5
• Packagist symfony/validator: >= 2.3.0, < 2.3.3 → fixed in 2.3.3
• Packagist symfony/symfony: >= 2.0.0, < 2.0.24 → fixed in 2.0.24
• Packagist symfony/symfony: >= 2.1.0, < 2.1.12 → fixed in 2.1.12
• Packagist symfony/symfony: >= 2.2.0, < 2.2.5 → fixed in 2.2.5
• Packagist symfony/symfony: >= 2.3.0, < 2.3.3 → fixed in 2.3.3
Description
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).
As 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.
Related
Alias · CVE (1)
- CVE-2013-4751 php-symfony2-Validator has loss of information during serialization vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-4751 advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-4751 web
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86364 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2013-4751.yaml web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/validator/CVE-2013-4751.yaml web
- https://github.com/symfony/validator package
- https://symfony.com/blog/security-releases-symfony-2-0-24-2-1-12-2-2-5-and-2-3-3-released web
- https://web.archive.org/web/20200228181137/http://www.securityfocus.com/bid/61709 web
- http://lists.fedoraproject.org/pipermail/package-announce/2013-August/114380.html web
- http://lists.fedoraproject.org/pipermail/package-announce/2013-August/114436.html web
- http://symfony.com/blog/security-releases-symfony-2-0-24-2-1-12-2-2-5-and-2-3-3-released web