Advisory

GHSA-q8j7-fjh7-25v5

Also known as: 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).

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-05 00:28 UTC
Modified
2024-02-16 08:12 UTC

Affected packages and fixes

symfony/validator

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.0.24 (ecosystem)

Fixed versions

2.0.24

Fix

The export has no generic command for this ecosystem.

symfony/validator

Packagist · All systems

Affected

  • introduced 2.1.0, fixed 2.1.12 (ecosystem)

Fixed versions

2.1.12

Fix

The export has no generic command for this ecosystem.

symfony/validator

Packagist · All systems

Affected

  • introduced 2.2.0, fixed 2.2.5 (ecosystem)

Fixed versions

2.2.5

Fix

The export has no generic command for this ecosystem.

symfony/validator

Packagist · All systems

Affected

  • introduced 2.3.0, fixed 2.3.3 (ecosystem)

Fixed versions

2.3.3

Fix

The export has no generic command for this ecosystem.

symfony/symfony

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.0.24 (ecosystem)

Fixed versions

2.0.24

Fix

The export has no generic command for this ecosystem.

symfony/symfony

Packagist · All systems

Affected

  • introduced 2.1.0, fixed 2.1.12 (ecosystem)

Fixed versions

2.1.12

Fix

The export has no generic command for this ecosystem.

symfony/symfony

Packagist · All systems

Affected

  • introduced 2.2.0, fixed 2.2.5 (ecosystem)

Fixed versions

2.2.5

Fix

The export has no generic command for this ecosystem.

symfony/symfony

Packagist · All systems

Affected

  • introduced 2.3.0, fixed 2.3.3 (ecosystem)

Fixed versions

2.3.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences