~ / search / GHSA-674v-3g2w-84gx

GHSA-674v-3g2w-84gx

Sandbox bypass in fenom

Source: GitHub Advisory Database (reviewed) Critical CVE-2021-46433

Packages

EcosystemPackageAffectedFixed in
Packagist fenom/fenom <= 2.12.1 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.