GHSA-4rmr-c2jx-vx27

Suggest an improvement
Source
https://github.com/advisories/GHSA-4rmr-c2jx-vx27
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-4rmr-c2jx-vx27/GHSA-4rmr-c2jx-vx27.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4rmr-c2jx-vx27
Aliases
Published
2022-01-27T14:51:00Z
Modified
2024-02-16T07:59:53.974944Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Mustache remote code injection vulnerability
Details

In Mustache.php v2.0.0 through v2.14.0, Sections tag can lead to arbitrary php code execution even if strict_callables is true when section value is controllable.

Database specific
{
    "nvd_published_at": "2022-01-21T18:15:00Z",
    "cwe_ids": [
        "CWE-1336",
        "CWE-94"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-01-24T23:01:39Z"
}
References

Affected packages

Packagist / mustache/mustache

Package

Name
mustache/mustache
Purl
pkg:composer/mustache/mustache

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.14.1

Affected versions

v2.*

v2.0.0
v2.0.1
v2.0.2
v2.1.0
v2.2.0
v2.3.0
v2.3.1
v2.4.0
v2.4.1
v2.5.0
v2.5.1
v2.6.0
v2.6.1
v2.7.0
v2.8.0
v2.9.0
v2.10.0
v2.11.0
v2.11.1
v2.12.0
v2.13.0
v2.14.0