Advisory

GHSA-674v-3g2w-84gx

Also known as: CVE-2021-46433

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-03-29 00:01 UTC
Modified
2024-12-05 05:49 UTC

Affected packages and fixes

fenom/fenom

Packagist · All systems

Affected

  • introduced 0, last affected 2.12.1 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences