GHSA-674v-3g2w-84gx

Suggest an improvement
Source
https://github.com/advisories/GHSA-674v-3g2w-84gx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-674v-3g2w-84gx/GHSA-674v-3g2w-84gx.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-674v-3g2w-84gx
Aliases
Published
2022-03-29T00:01:15Z
Modified
2024-12-05T05:30:22.685808Z
Severity
  • 10.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
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 disablenativefuncs is true.

Database specific
{
    "nvd_published_at": "2022-03-28T11:15:00Z",
    "cwe_ids": [],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2022-03-30T19:57:38Z"
}
References

Affected packages

Packagist / fenom/fenom

Package

Name
fenom/fenom
Purl
pkg:composer/fenom/fenom

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.12.1

Affected versions

1.*

1.4.9

2.*

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