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-vx27
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00cm1yLWMyangtdngyN80l0A
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: 3 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: Repository: https://github.com/bobthecow/mustache.php
Blast Radius: 32.8

Affected Packages

packagist:mustache/mustache
Dependent packages: 332
Dependent repositories: 5,333
Downloads: 29,725,516 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