GHSA-674v-3g2w-84gxcritical10.0
Sandbox bypass in fenom
The advisory, in context
In fenom 2.12.1 and before, there is a way in fenom/src/Fenom/Template.php function getTemplateCode()to bypass sandbox to execute arbitrary PHP code when disable_native_funcs is true.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
fenom/fenom Packagist
Ecosystem versions
Earlier releases through 2.12.1 (inclusive)
No fix recorded for this interval.
34 explicitly affected versions
1.4.9, 2.0.0, 2.1.0, 2.10.0, 2.11.0, 2.11.1, 2.11.2, 2.11.3, 2.11.4, 2.11.5, 2.11.6, 2.11.7, 2.11.8, 2.11.9, 2.12.0, 2.12.1, 2.2.0, 2.3.0, 2.4.0, 2.4.6, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.6.1, 2.6.2, 2.7.0, 2.7.1, 2.8.0, 2.8.1, 2.8.2, 2.9.0
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "2.12.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.4.9",
"2.0.0",
"2.1.0",
"2.10.0",
"2.11.0",
"2.11.1",
"2.11.2",
"2.11.3",
"2.11.4",
"2.11.5",
"2.11.6",
"2.11.7",
"2.11.8",
"2.11.9",
"2.12.0",
"2.12.1",
"2.2.0",
"2.3.0",
"2.4.0",
"2.4.6",
"2.5.0",
"2.5.1",
"2.5.2",
"2.5.3",
"2.5.4",
"2.6.0",
"2.6.1",
"2.6.2",
"2.7.0",
"2.7.1",
"2.8.0",
"2.8.1",
"2.8.2",
"2.9.0"
]
}