GHSA-6m9f-8vwq-97pmmedium
Smarty Does Not Consider Umask Values When Setting Permissions
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
smarty/smarty Packagist
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 3.0.0-beta4Ecosystem versions | 3.0.0-beta4 |
Version evidence: OSV · GHSA-6m9f-8vwq-97pm
View original version evidence (9 explicit versions)
Original source description
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.