ghsa-q8j7-fjh7-25v5
Vulnerability from github
Published
2022-05-05 00:28
Modified
2023-08-17 22:38
Severity ?
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).
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.
{ "affected": [ { "package": { "ecosystem": "Packagist", "name": "symfony/validator" }, "ranges": [ { "events": [ { "introduced": "2.0.0" }, { "fixed": "2.0.24" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "symfony/validator" }, "ranges": [ { "events": [ { "introduced": "2.1.0" }, { "fixed": "2.1.12" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "symfony/validator" }, "ranges": [ { "events": [ { "introduced": "2.2.0" }, { "fixed": "2.2.5" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "symfony/validator" }, "ranges": [ { "events": [ { "introduced": "2.3.0" }, { "fixed": "2.3.3" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "symfony/symfony" }, "ranges": [ { "events": [ { "introduced": "2.0.0" }, { "fixed": "2.0.24" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "symfony/symfony" }, "ranges": [ { "events": [ { "introduced": "2.1.0" }, { "fixed": "2.1.12" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "symfony/symfony" }, "ranges": [ { "events": [ { "introduced": "2.2.0" }, { "fixed": "2.2.5" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "symfony/symfony" }, "ranges": [ { "events": [ { "introduced": "2.3.0" }, { "fixed": "2.3.3" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2013-4751" ], "database_specific": { "cwe_ids": [ "CWE-20" ], "github_reviewed": true, "github_reviewed_at": "2023-08-17T22:38:30Z", "nvd_published_at": "2019-11-01T13:15:00Z", "severity": "HIGH" }, "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.", "id": "GHSA-q8j7-fjh7-25v5", "modified": "2023-08-17T22:38:30Z", "published": "2022-05-05T00:28:58Z", "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" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N", "type": "CVSS_V3" } ], "summary": "Symfony collectionCascaded and collectionCascadedDeeply fields security bypass" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.