VDB
Sign up
MEDIUM5.9

GHSA-65j5-vpm7-6xp4

Smarty Path Traversal Vulnerability

Quick fix

GHSA-65j5-vpm7-6xp4 — smarty/smarty: upgrade to the fixed version with the command below.

composer require smarty/smarty:^3.1.33

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/smarty/smarty
Introduced in: 0Fixed in: 3.1.33
Fixcomposer require smarty/smarty:^3.1.33

References