GitHub Advisory Database
GHSA-6m9f-8vwq-97pm
Smarty Does Not Consider Umask Values When Setting Permissions
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | smarty/smarty | All versions before 3.0.0-beta4 (fixed in 3.0.0-beta4) |