Lack of data validation In symfony/symfony
Description
Symfony collectionCascaded and collectionCascadedDeeply fields security bypass
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
packagist | 2.0.24, 2.1.12, 2.2.5, 2.3.3 | ||
packagist | 2.0.24, 2.1.12, 2.2.5, 2.3.3 |
Aliases
References