← 漏洞与更新

中危漏洞公告PHPSymfony

Symfony: ObjectNormalizer Dotted-Key Property-Path Traversal Bypasses #[Ignore] on Nested Objects

受影响

软件包受影响版本修复版本
composer:symfony/serializer< 5.4.565.4.56
composer:symfony/serializer>= 6.4.9, < 6.4.506.4.50
composer:symfony/serializer>= 7.0.9, < 7.1.07.1.0
composer:symfony/serializer>= 7.1.2, < 7.4.237.4.23
composer:symfony/serializer>= 8.0.0, < 8.1.118.1.11
显示全部 (10)
软件包受影响版本修复版本
composer:symfony/symfony< 5.4.565.4.56
composer:symfony/symfony>= 6.4.9, < 6.4.506.4.50
composer:symfony/symfony>= 7.0.9, < 7.1.07.1.0
composer:symfony/symfony>= 7.1.2, < 7.4.237.4.23
composer:symfony/symfony>= 8.0.0, < 8.1.118.1.11

ObjectNormalizer::isAllowedAttribute() treats any attribute name containing . (and, from 6.4, [) as writable, and setAttributeValue() hands the name straight to PropertyAccessor::setValue(), which parses it as a property path and traverses into the nested object. A payload key such as customer.admin therefore writes to $order->customer->admin, bypassing the #[Ignore] metadata of the nested class. That metadata is only consulted when the nested object is denormalized in its own right, never when…

在 GitHub Advisory Database 阅读

2026/12/02 06:24,GitHub Advisory Database 发布了“Symfony: ObjectNormalizer Dotted-Key Property-Path Traversal Bypasses #[Ignore] on Nested Objects”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:PHP、Symfony。CVE:CVE-2026-122053。