Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS00cm1yLWMyangtdngyN80l0A
Mustache remote code injection vulnerability
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.
Permalink: https://github.com/advisories/GHSA-4rmr-c2jx-vx27JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00cm1yLWMyangtdngyN80l0A
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 3 years ago
Updated: 10 months ago
CVSS Score: 8.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-4rmr-c2jx-vx27, CVE-2022-0323
References:
- https://nvd.nist.gov/vuln/detail/CVE-2022-0323
- https://github.com/bobthecow/mustache.php/commit/579ffa5c96e1d292c060b3dd62811ff01ad8c24e
- https://huntr.dev/bounties/a5f5a988-aa52-4443-839d-299a63f44fb7
- https://github.com/FriendsOfPHP/security-advisories/blob/master/mustache/mustache/CVE-2022-0323.yaml
- https://github.com/bobthecow/mustache.php/releases/tag/v2.14.1
- https://github.com/advisories/GHSA-4rmr-c2jx-vx27
Blast Radius: 32.8
Affected Packages
packagist:mustache/mustache
Dependent packages: 332Dependent repositories: 5,333
Downloads: 34,381,976 total
Affected Version Ranges: >= 2.0.0, < 2.14.1
Fixed in: 2.14.1
All affected versions: 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.2.0, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 2.5.0, 2.5.1, 2.6.0, 2.6.1, 2.7.0, 2.8.0, 2.9.0, 2.10.0, 2.11.0, 2.11.1, 2.12.0, 2.13.0, 2.14.0
All unaffected versions: 1.0.0, 2.14.1, 2.14.2