{"id":"GHSA-674v-3g2w-84gx","aliases":["CVE-2021-46433"],"title":"Sandbox bypass in fenom","description":"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.","severity":"critical","score":10,"published":"2022-03-29T00:01:15.000Z","modified":"2024-12-05T05:49:33.933Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"fenom/fenom","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"],"fixed":[]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-46433","https://github.com/fenom-template/fenom/issues/331","https://github.com/fenom-template/fenom"],"sources":[{"name":"OSV","id":"GHSA-674v-3g2w-84gx","modified":"2024-12-05T05:49:33.933128Z","url":"https://osv.dev/vulnerability/GHSA-674v-3g2w-84gx"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10}]}