The join filter converted a value that isn't iterable with (array) $value. For an object, that gives every property, including the private and protect...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12php-twig |
All versions→ Not listed |
Not listed |
| Debian:13php-twig |
All versions→ Not listed |
Not listed |
| Debian:14php-twig |
< 3.31.1-1→ 3.31.1-1 |
3.31.1-1 |
Original description The description as published by the source.
The join filter converted a value that isn't iterable with (array) $value. For an object, that gives every property, including the private and protected ones. A sandboxed template allowed to use join could therefore print properties that the policy denies, and that templates can't read otherwise: {{ user|join(',') }} A value that isn't iterable is now joined as a single item. A Stringable object prints its checked string, and other objects throw, as with the first and last filters.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org