{"id":"GHSA-674v-3g2w-84gx","summary":"Sandbox bypass in fenom","details":"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.","aliases":["CVE-2021-46433"],"modified":"2024-12-05T05:49:33.933128Z","published":"2022-03-29T00:01:15Z","database_specific":{"cwe_ids":[],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-03-30T19:57:38Z","nvd_published_at":"2022-03-28T11:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46433"},{"type":"WEB","url":"https://github.com/fenom-template/fenom/issues/331"},{"type":"PACKAGE","url":"https://github.com/fenom-template/fenom"}],"affected":[{"package":{"name":"fenom/fenom","ecosystem":"Packagist","purl":"pkg:composer/fenom/fenom"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.12.1"}]}],"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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-674v-3g2w-84gx/GHSA-674v-3g2w-84gx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}