Advisory

GHSA-4rmr-c2jx-vx27

Also known as: CVE-2022-0323

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-01-27 14:51 UTC
Modified
2024-02-16 07:59 UTC

Affected packages and fixes

mustache/mustache

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.14.1 (ecosystem)

Fixed versions

2.14.1

Fix

The export has no generic command for this ecosystem.

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