ADVISORIES

GitHub Advisory Database

GHSA-65j5-vpm7-6xp4

Smarty Path Traversal Vulnerability

Moderate CVE-2018-16831

Details

Smarty before 3.1.33-dev-4 allows attackers to bypass the trusted_dir protection mechanism via a file:./../ substring in an include statement.

Affected packages

EcosystemPackageAffected versions
Packagistsmarty/smarty
All versions before 3.1.33 (fixed in 3.1.33)

References