Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS02NzR2LTNnMnctODRneM02ZA

Sandbox bypass in fenom

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.

Permalink: https://github.com/advisories/GHSA-674v-3g2w-84gx
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS02NzR2LTNnMnctODRneM02ZA
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 2 years ago
Updated: over 1 year ago


CVSS Score: 10.0
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Identifiers: GHSA-674v-3g2w-84gx, CVE-2021-46433
References: Repository: https://github.com/fenom-template/fenom
Blast Radius: 18.1

Affected Packages

packagist:fenom/fenom
Dependent packages: 19
Dependent repositories: 64
Downloads: 77,972 total
Affected Version Ranges: <= 2.12.1
No known fixed version
All affected versions: 1.4.9, 2.0.0, 2.1.0, 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, 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