VDB
Sign up
MEDIUM

GHSA-6m9f-8vwq-97pm

Smarty Does Not Consider Umask Values When Setting Permissions

Quick fix

GHSA-6m9f-8vwq-97pm — smarty/smarty: upgrade to the fixed version with the command below.

composer require smarty/smarty:^3.0.0-beta4

Details

Smarty before 3.0.0 beta 4 does not consider the umask value when setting the permissions of files, which might allow attackers to bypass intended access restrictions via standard filesystem operations.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/smarty/smarty
Introduced in: 0Fixed in: 3.0.0-beta4
Fixcomposer require smarty/smarty:^3.0.0-beta4

References