Advisory

GHSA-9m49-vhwv-422g

Also known as: CVE-2017-1000480

Summary

Smarty PHP code injection

Details

Smarty 3 before 3.1.32 is vulnerable to a PHP code injection when calling fetch() or display() functions on custom resources that does not sanitize template name.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-14 03:46 UTC
Modified
2024-04-24 23:11 UTC

Affected packages and fixes

smarty/smarty

Packagist · All systems

Affected

  • introduced 3, fixed 3.1.32 (ecosystem)

Fixed versions

3.1.32

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