Twig: Sandbox state regression in deprecated internal wrappers in `src/Resources/core.php`
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| twigphp | Twig | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Twigphp | Twig |
|
| Source | ID | Title |
|---|---|---|
Debian DSA |
DSA-6311-1 | php-twig security update |
Github GHSA |
GHSA-p42q-9prx-q5wq | Twig: Sandbox state regression in deprecated internal wrappers in `src/Resources/core.php` |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.483% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Twigphp
Twigphp twig |
|
| Vendors & Products |
Twigphp
Twigphp twig |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Twig is a template language for PHP. Prior to 3.27.0, deprecated internal wrappers in src/Resources/core.php do not forward the current sandbox state to CoreExtension::checkArrow(), arraySome(), and arrayEvery(), allowing legacy calls such as twig_array_some(), twig_array_every(), and twig_check_arrow_in_sandbox() to bypass sandbox callable restrictions. This issue is fixed in version 3.27.0. | |
| Title | Twig: Sandbox state regression in deprecated internal wrappers in `src/Resources/core.php` | |
| Weaknesses | CWE-693 | |
| References |
| |
| Metrics |
cvssV4_0
|