GHSA-q8j7-fjh7-25v5HighCVSS 8.1

Symfony collectionCascaded and collectionCascadedDeeply fields security bypass

Published
May 5, 2022
Last Modified
February 7, 2024

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products8

  • composer/symfony/validator:>= 2.0.0, < 2.0.24
  • composer/symfony/validator:>= 2.1.0, < 2.1.12
  • composer/symfony/validator:>= 2.2.0, < 2.2.5
  • composer/symfony/validator:>= 2.3.0, < 2.3.3
  • composer/symfony/symfony:>= 2.0.0, < 2.0.24
  • composer/symfony/symfony:>= 2.1.0, < 2.1.12
  • composer/symfony/symfony:>= 2.2.0, < 2.2.5
  • composer/symfony/symfony:>= 2.3.0, < 2.3.3

🔗 References (11)